aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmultiwindowwm.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-08-01 08:52:25 +0200
committermarha <marha@users.sourceforge.net>2012-08-01 08:52:25 +0200
commite4c6a9fed0a613920b61b036185278f6fe281712 (patch)
tree126780f07a857e4ee95c995641158513ff6102b1 /xorg-server/hw/xwin/winmultiwindowwm.c
parentc17b4f457b98112e1a703eefdb415bcad9cd2a9a (diff)
downloadvcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.tar.gz
vcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.tar.bz2
vcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.zip
winUpdateWindowPosition: do not assume WS_EX_APPWINDOW style
Diffstat (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c')
-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 31ddff8c6..df44b1d6c 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1672,7 +1672,7 @@ winUpdateWindowPosition(HWND hWnd, Bool reshape, HWND * zstyle)
SetRect(&rcNew, iX, iY, iX + iWidth, iY + iHeight);
AdjustWindowRectEx(&rcNew, GetWindowLongPtr(hWnd, GWL_STYLE), FALSE,
- WS_EX_APPWINDOW);
+ GetWindowLongPtr(hWnd, GWL_EXSTYLE));
/* Don't allow window decoration to disappear off to top-left as a result of this adjustment */
if (rcNew.left < GetSystemMetrics(SM_XVIRTUALSCREEN)) {