Module: wine Branch: master Commit: 2cf9cdd3d81af3f26dc6b81d86c3fd094aa6aae8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2cf9cdd3d81af3f26dc6b81d86...
Author: Alexandre Julliard julliard@winehq.org Date: Mon May 24 16:41:20 2010 +0200
winex11: Unmap zero-size windows also while processing a PropertyNotify event.
---
dlls/winex11.drv/window.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index fa72ada..ef6c442 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -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 ); }