diff options
author | Florian Müllner <fmuellner@gnome.org> | 2018-05-25 21:24:17 +0200 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2018-07-30 17:48:40 +0000 |
commit | d99442d6e6b7c9b383863cc754db609398d4e65b (patch) | |
tree | 43ac23731b28f55545e6deef0e67c9c57db46566 | |
parent | 148da24f9510ebd23d750b8224aa0ab3a549e69e (diff) | |
download | mutter-d99442d6e6b7c9b383863cc754db609398d4e65b.tar.gz |
window: Explicitly exclude unmanaging window from focus again
Since commit b3b9d9e16 we no longer have to pass the unmanaging window
to make sure we don't try to focus it again, however the parameter also
influences the focus policy by giving ancestors preference over the normal
stack order.
https://gitlab.gnome.org/GNOME/mutter/issues/15
-rw-r--r-- | src/core/window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index 5e0148c0b..e32366838 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -1483,7 +1483,9 @@ meta_window_unmanage (MetaWindow *window, meta_topic (META_DEBUG_FOCUS, "Focusing default window since we're unmanaging %s\n", window->desc); - meta_workspace_focus_default_window (workspace_manager->active_workspace, NULL, timestamp); + meta_workspace_focus_default_window (workspace_manager->active_workspace, + window, + timestamp); } else { |