Commit 6f14ba73 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent db43e7a5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment