From e4c6a9fed0a613920b61b036185278f6fe281712 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 1 Aug 2012 08:52:25 +0200 Subject: winUpdateWindowPosition: do not assume WS_EX_APPWINDOW style --- xorg-server/hw/xwin/winmultiwindowwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server/hw/xwin/winmultiwindowwm.c') 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)) { -- cgit v1.2.3