Commit b1af55d5 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't unmap off-screen windows on PropertyNotify events.

parent fc1e8e79
......@@ -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 );
}
......
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