winex11: Retrieve the current window placement in MapNotify before modifying it.

This commit is contained in:
Alexandre Julliard 2008-03-05 11:25:27 +01:00
parent db43e7a582
commit 6f14ba7387
1 changed files with 1 additions and 0 deletions

View File

@ -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;