mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
winex11: Don't unmap off-screen windows on PropertyNotify events.
This commit is contained in:
parent
fc1e8e79c2
commit
b1af55d551
@ -2501,7 +2501,7 @@ void CDECL X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flags
|
||||
if (data->mapped && event_type != ReparentNotify)
|
||||
{
|
||||
if (((swp_flags & SWP_HIDEWINDOW) && !(new_style & WS_VISIBLE)) ||
|
||||
(event_type != ConfigureNotify &&
|
||||
(!event_type &&
|
||||
!is_window_rect_mapped( rectWindow ) && is_window_rect_mapped( &old_window_rect )))
|
||||
unmap_window( display, data );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user