Commit 2cf9cdd3 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Unmap zero-size windows also while processing a PropertyNotify event.

parent 668ddfba
......@@ -2330,7 +2330,7 @@ void CDECL X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flags
if (data->mapped)
{
if (((swp_flags & SWP_HIDEWINDOW) && !(new_style & WS_VISIBLE)) ||
(!event_type && !is_window_rect_mapped( rectWindow )))
(event_type != ConfigureNotify && !is_window_rect_mapped( rectWindow )))
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