winex11: Retrieve the current window placement in MapNotify before modifying it.
This commit is contained in:
parent
db43e7a582
commit
6f14ba7387
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue