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

This commit is contained in:
Alexandre Julliard 2010-05-24 16:41:20 +02:00
parent 668ddfba33
commit 2cf9cdd3d8
1 changed files with 1 additions and 1 deletions

View File

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