winex11: Reset clipping when a fullscreen window is unmapped.

This commit is contained in:
Alexandre Julliard 2012-01-31 13:45:04 +01:00
parent e31dd6dba1
commit a534925a48
1 changed files with 3 additions and 0 deletions

View File

@ -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 */