mirror of
https://github.com/brl/mutter.git
synced 2025-07-28 12:38:04 +00:00
core: Remove META_LAYER_FULLSCREEN
This layer isn't really being used and in fact, it causes
meta_stack_get_default_focus_window() to return a fullscreen window
even if the naturally topmost window in the stack isn't a fullscreen
one.
Note that commit a3bf9b01aa
changed how
we choose the default focus window from the MRU to the topmost in the
stack.
https://bugzilla.gnome.org/show_bug.cgi?id=768221
This commit is contained in:
@@ -3180,7 +3180,6 @@ meta_window_make_fullscreen_internal (MetaWindow *window)
|
||||
window->fullscreen = TRUE;
|
||||
|
||||
meta_stack_freeze (window->screen->stack);
|
||||
meta_window_update_layer (window);
|
||||
|
||||
meta_window_raise (window);
|
||||
meta_stack_thaw (window->screen->stack);
|
||||
@@ -3265,7 +3264,7 @@ meta_window_unmake_fullscreen (MetaWindow *window)
|
||||
window, META_SIZE_CHANGE_UNFULLSCREEN,
|
||||
&old_frame_rect, &old_buffer_rect);
|
||||
|
||||
meta_window_update_layer (window);
|
||||
meta_screen_queue_check_fullscreen (window->screen);
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (window), obj_props[PROP_FULLSCREEN]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user