mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
window-x11: Don't double-check for unmanaging windows
When looking for the best fallback focus window, we ignore it if it is in the unmanaging state, but meta_stack_get_default_focus_window() does this is check for us already. So, ignore the redundant test. https://gitlab.gnome.org/GNOME/mutter/merge_requests/669
This commit is contained in:
parent
ecf7e53206
commit
9aee47daa9
@ -906,9 +906,6 @@ meta_window_x11_focus (MetaWindow *window,
|
|||||||
if (!focus_window)
|
if (!focus_window)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (focus_window->unmanaging)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (focus_window->input)
|
if (focus_window->input)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user