summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-11-27 03:03:18 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2019-11-27 03:18:08 +0200
commit3405eb4b73344505f0fa5ebd7b712c41b53c0d8e (patch)
tree5f81b0ad8efbdc62326fbd6b0914f7bf11b6319c
parent85c64a468d80901142446333d8dec8e8627c7b0f (diff)
downloadmetacity-3405eb4b73344505f0fa5ebd7b712c41b53c0d8e.tar.gz
revert "stack: never focus unmanaging windows"
This reverts commit 33a6a39c9a7f1a0d706d79175c7ed157984f3da0. Original commit was: https://gitlab.gnome.org/GNOME/mutter/commit/b3b9d9e1617f350a2a3f3a Commit in metacity was incomplete and because of that also did not reflect what it actually did. Also exactly this part was reverted in mutter - https://gitlab.gnome.org/GNOME/mutter/commit/d99442d6e6b7.
-rw-r--r--src/core/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 97fa842c..3539c316 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1103,7 +1103,8 @@ meta_window_unmanage (MetaWindow *window,
"Focusing default window since we're unmanaging %s\n",
window->desc);
meta_workspace_focus_default_window (window->screen->active_workspace,
- NULL, timestamp);
+ window,
+ timestamp);
}
else
{