[mutter] window-x11: Don't double-check for unmanaging windows
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window-x11: Don't double-check for unmanaging windows
- Date: Mon, 8 Jul 2019 10:02:44 +0000 (UTC)
commit 9aee47daa984e5cc4a1ccefb3aacfbb2729cfbc1
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date: Mon Jul 1 10:38:02 2019 +0200
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
src/x11/window-x11.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 80fd6e91d..3c93a8d5d 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -906,9 +906,6 @@ meta_window_x11_focus (MetaWindow *window,
if (!focus_window)
break;
- if (focus_window->unmanaging)
- continue;
-
if (focus_window->input)
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]