mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
when freeing a fullscreen window, update layers of the window's group.
2002-08-25 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_free): when freeing a fullscreen window, update layers of the window's group.
This commit is contained in:
parent
8b7447b282
commit
900de3c304
@ -1,3 +1,8 @@
|
|||||||
|
2002-08-25 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/window.c (meta_window_free): when freeing a fullscreen
|
||||||
|
window, update layers of the window's group.
|
||||||
|
|
||||||
2002-08-25 Havoc Pennington <hp@pobox.com>
|
2002-08-25 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/display.c (meta_display_open): _NET_SUPPORTING_WM_CHECK is
|
* src/display.c (meta_display_open): _NET_SUPPORTING_WM_CHECK is
|
||||||
|
15
src/window.c
15
src/window.c
@ -802,6 +802,21 @@ meta_window_free (MetaWindow *window)
|
|||||||
|
|
||||||
window->unmanaging = TRUE;
|
window->unmanaging = TRUE;
|
||||||
|
|
||||||
|
if (window->fullscreen)
|
||||||
|
{
|
||||||
|
MetaGroup *group;
|
||||||
|
|
||||||
|
/* If the window is fullscreen, it may be forcing
|
||||||
|
* other windows in its group to a higher layer
|
||||||
|
*/
|
||||||
|
|
||||||
|
meta_stack_freeze (window->screen->stack);
|
||||||
|
group = meta_window_get_group (window);
|
||||||
|
if (group)
|
||||||
|
meta_group_update_layers (group);
|
||||||
|
meta_stack_thaw (window->screen->stack);
|
||||||
|
}
|
||||||
|
|
||||||
/* If we have the focus, focus some other window.
|
/* If we have the focus, focus some other window.
|
||||||
* This is done first, so that if the unmap causes
|
* This is done first, so that if the unmap causes
|
||||||
* an EnterNotify the EnterNotify will have final say
|
* an EnterNotify the EnterNotify will have final say
|
||||||
|
Loading…
Reference in New Issue
Block a user