[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-cvs
Subject: Alexandre Julliard : winex11: Reset clipping when a fullscreen window is unmapped.
From: Alexandre Julliard <julliard () winehq ! org>
Date: 2012-01-31 20:06:19
Message-ID: E1RsJy7-0002Ka-5e () wine ! codeweavers ! com
[Download RAW message or body]
Module: wine
Branch: master
Commit: a534925a4817cf5afa8fd692f9502c91c95ad58b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a534925a4817cf5afa8fd692f9502c91c95ad58b
Author: Alexandre Julliard <julliard@winehq.org>
Date: Tue Jan 31 13:45:04 2012 +0100
winex11: Reset clipping when a fullscreen window is unmapped.
---
dlls/winex11.drv/window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index fcf5e0e..a172cd2 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -2543,7 +2543,10 @@ void CDECL X11DRV_WindowPosChanged( HWND hwnd, HWND insert_after, UINT swp_flags
if (((swp_flags & SWP_HIDEWINDOW) && !(new_style & WS_VISIBLE)) ||
(!event_type &&
!is_window_rect_mapped( rectWindow ) && is_window_rect_mapped( &old_window_rect )))
+ {
unmap_window( display, data );
+ if (is_window_rect_fullscreen( &old_window_rect )) reset_clipping_window();
+ }
}
/* don't change position if we are about to minimize or maximize a managed window */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic