diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2019-07-01 08:38:02 +0000 |
---|---|---|
committer | Marco Trevisan <mail@3v1n0.net> | 2019-07-08 14:16:57 +0000 |
commit | c50df1431157d4f719bd0cac8f0cf426c80ad7c3 (patch) | |
tree | a13928bdde8a1cb1694b54086ccc45cfd8e03ee6 | |
parent | 194d93efd84e74b70f28a284dcc10deb51f898a6 (diff) | |
download | mutter-c50df1431157d4f719bd0cac8f0cf426c80ad7c3.tar.gz |
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
(cherry picked from commit 9aee47daa984e5cc4a1ccefb3aacfbb2729cfbc1)
-rw-r--r-- | src/x11/window-x11.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 695dbff25..284823431 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -907,9 +907,6 @@ meta_window_x11_focus (MetaWindow *window, if (!focus_window) break; - if (focus_window->unmanaging) - continue; - if (focus_window->input) break; |