Alexandre Julliard : winex11: Don' t unmap off-screen windows on PropertyNotify events.
Alexandre Julliard
julliard at winehq.org
Thu Apr 7 07:36:56 CDT 2011
Module: wine
Branch: stable
Commit: 0001c27dc80ee7a41839c97e054ff27873a3d857
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0001c27dc80ee7a41839c97e054ff27873a3d857
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Mar 7 15:11:10 2011 +0100
winex11: Don't unmap off-screen windows on PropertyNotify events.
(cherry picked from commit b1af55d551cce6bc2690c37b95646cf89827c8d2)
---
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 ef515ee..55dcfdd 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2366,7 +2366,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 != ConfigureNotify &&
+ (!event_type &&
!is_window_rect_mapped( rectWindow ) && is_window_rect_mapped( &old_window_rect )))
unmap_window( display, data );
}
More information about the wine-cvs
mailing list