Alexandre Julliard : winex11: Unmap zero-size windows also while processing a PropertyNotify event.
Alexandre Julliard
julliard at winehq.org
Mon May 24 11:30:51 CDT 2010
Module: wine
Branch: master
Commit: 2cf9cdd3d81af3f26dc6b81d86c3fd094aa6aae8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2cf9cdd3d81af3f26dc6b81d86c3fd094aa6aae8
Author: Alexandre Julliard <julliard at 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 );
}
More information about the wine-cvs
mailing list