патч на rdesktop:
--- rdesktop-1.6.0/xwin.c 2008-05-11 10:14:38.000000000 +0400
+++ rdesktop-1.6.0.xmonad/xwin.c 2008-08-20 17:03:43.000000000 +0400
@@ -2052,11 +2052,11 @@
sizehints = XAllocSizeHints();
if (sizehints)
{
- sizehints->flags = PMinSize | PMaxSize;
+ sizehints->flags = PMinSize;
if (g_pos)
sizehints->flags |= PPosition;
- sizehints->min_width = sizehints->max_width = g_width;
- sizehints->min_height = sizehints->max_height = g_height;
+ sizehints->min_width = g_width;
+ sizehints->min_height = g_height;
XSetWMNormalHints(g_display, g_wnd, sizehints);
XFree(sizehints);
}
@@ -2118,9 +2118,9 @@
sizehints = XAllocSizeHints();
if (sizehints)
{
- sizehints->flags = PMinSize | PMaxSize;
- sizehints->min_width = sizehints->max_width = g_width;
- sizehints->min_height = sizehints->max_height = g_height;
+ sizehints->flags = PMinSize;
+ sizehints->min_width = g_width;
+ sizehints->min_height = g_height;
XSetWMNormalHints(g_display, g_wnd, sizehints);
XFree(sizehints);
}
смысл — не указывать в свойствах окна максимальные размеры, из-за наличия которых xmonad не решается по-нормальному окно спозиционировать.