[metacity] revert "stack: never focus unmanaging windows"



commit 3405eb4b73344505f0fa5ebd7b712c41b53c0d8e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Nov 27 03:03:18 2019 +0200

    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.

 src/core/window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
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
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]