stack: Ignore keep-on-top property on maximized windows
It is impossible to switch to other windows when keep-on-top is set for maximized windows; given that keep-on-top is only ever useful to keep a window visible while focusing a different window, the current behavior is pointless. So ignore keep-on-top while a window is maximized. https://bugzilla.gnome.org/show_bug.cgi?id=673581
This commit is contained in:
@ -341,7 +341,7 @@ get_standalone_layer (MetaWindow *window)
|
||||
windows_on_different_monitor (window,
|
||||
window->display->expected_focus_window))))
|
||||
layer = META_LAYER_FULLSCREEN;
|
||||
else if (window->wm_state_above)
|
||||
else if (window->wm_state_above && !META_WINDOW_MAXIMIZED (window))
|
||||
layer = META_LAYER_TOP;
|
||||
else
|
||||
layer = META_LAYER_NORMAL;
|
||||
|
Reference in New Issue
Block a user