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