aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-22 17:01:42 +0000
committermarha <marha@users.sourceforge.net>2010-02-22 17:01:42 +0000
commitfbbb3a5ad4525a81b233b2a33043843b4cd74fc5 (patch)
tree1559b463c4668bd2accf1efcc13b4a2ba1cc034e
parentdcf6a2b6452727563ae0c8d1287ed4d9a4e33009 (diff)
downloadvcxsrv-fbbb3a5ad4525a81b233b2a33043843b4cd74fc5.tar.gz
vcxsrv-fbbb3a5ad4525a81b233b2a33043843b4cd74fc5.tar.bz2
vcxsrv-fbbb3a5ad4525a81b233b2a33043843b4cd74fc5.zip
acroread was not sizeable when running in multiwindow mode
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index c3742b755..845a85fa0 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1510,6 +1510,7 @@ winApplyHints (Display *pDisplay, Window iWindow, HWND hWnd, HWND *zstyle)
else if (!(mwm_hint->decorations & MwmDecorAll))
{
if (mwm_hint->decorations & MwmDecorBorder) hint |= HINT_BORDER;
+ if (mwm_hint->decorations & MwmDecorHandle) hint |= HINT_SIZEBOX;
if (mwm_hint->decorations & MwmDecorTitle) hint |= HINT_CAPTION;
}
}
@@ -1526,7 +1527,7 @@ winApplyHints (Display *pDisplay, Window iWindow, HWND hWnd, HWND *zstyle)
{
if (*pAtom == dockWindow)
{
- hint = (hint & ~HINT_NOFRAME); /* Xming puts a sizebox on dock windows */
+ hint = (hint & ~HINT_NOFRAME) | HINT_SIZEBOX; /* Xming puts a sizebox on dock windows */
*zstyle = HWND_TOPMOST;
}
}
@@ -1569,7 +1570,7 @@ winApplyHints (Display *pDisplay, Window iWindow, HWND hWnd, HWND *zstyle)
else if (maxmin & HINT_MIN) SendMessage(hWnd, WM_SYSCOMMAND, SC_MINIMIZE, 0);
if (style & STYLE_NOTITLE)
- hint = (hint & ~HINT_NOFRAME & ~HINT_BORDER & ~HINT_CAPTION);
+ hint = (hint & ~HINT_NOFRAME & ~HINT_BORDER & ~HINT_CAPTION) | HINT_SIZEBOX;
else if (style & STYLE_OUTLINE)
hint = (hint & ~HINT_NOFRAME & ~HINT_CAPTION) | HINT_BORDER;
else if (style & STYLE_NOFRAME)