Module: wine Branch: master Commit: b1af55d551cce6bc2690c37b95646cf89827c8d2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1af55d551cce6bc2690c37b95...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Mar 7 15:11:10 2011 +0100
winex11: Don't unmap off-screen windows on PropertyNotify events.
---
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 50b2ec0..0e55619 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -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 ); }