aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-22 17:22:29 +0000
committermarha <marha@users.sourceforge.net>2010-02-22 17:22:29 +0000
commit499fb360a36ff1dfb817f4e66272f1329bfdcfc0 (patch)
tree59000e605a4eb4a7e8f20fec3042a7cf31ae8dd8
parentfbbb3a5ad4525a81b233b2a33043843b4cd74fc5 (diff)
downloadvcxsrv-499fb360a36ff1dfb817f4e66272f1329bfdcfc0.tar.gz
vcxsrv-499fb360a36ff1dfb817f4e66272f1329bfdcfc0.tar.bz2
vcxsrv-499fb360a36ff1dfb817f4e66272f1329bfdcfc0.zip
firefox was not resizing either in multiwindow mode
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index 845a85fa0..781abf32c 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1592,7 +1592,7 @@ winApplyHints (Display *pDisplay, Window iWindow, HWND hWnd, HWND *zstyle)
if (winMultiWindowGetWMNormalHints(pWin, &SizeHints))
{
- if (!((SizeHints.min_width == SizeHints.max_width)&&(SizeHints.min_height == SizeHints.max_height) ))
+ if (!(SizeHints.max_width&&SizeHints.max_height&&(SizeHints.min_width == SizeHints.max_width)&&(SizeHints.min_height == SizeHints.max_height) ))
style|=WS_SIZEBOX;
}
else