From 6f14ba738706383c01a749ca3c8d72d1351ed583 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 5 Mar 2008 11:25:27 +0100 Subject: [PATCH] winex11: Retrieve the current window placement in MapNotify before modifying it. --- dlls/winex11.drv/winpos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index eb96a8285d2..b2f7a3f30e2 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -480,6 +480,7 @@ void X11DRV_MapNotify( HWND hwnd, XEvent *event ) X11DRV_X_to_window_rect( data, &rect ); wp.length = sizeof(wp); + GetWindowPlacement( hwnd, &wp ); wp.flags = 0; wp.showCmd = SW_RESTORE; wp.rcNormalPosition = rect; -- 2.11.4.GIT