diff options
| author | marha <marha@users.sourceforge.net> | 2012-08-01 08:52:25 +0200 |
|---|---|---|
| committer | marha <marha@users.sourceforge.net> | 2012-08-01 08:52:25 +0200 |
| commit | e4c6a9fed0a613920b61b036185278f6fe281712 (patch) | |
| tree | 126780f07a857e4ee95c995641158513ff6102b1 | |
| parent | c17b4f457b98112e1a703eefdb415bcad9cd2a9a (diff) | |
| download | vcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.tar.gz vcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.tar.bz2 vcxsrv-e4c6a9fed0a613920b61b036185278f6fe281712.zip | |
winUpdateWindowPosition: do not assume WS_EX_APPWINDOW style
| -rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwm.c | 2 |
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)) { |
