[metacity/gnome-3-34] revert "stack: never focus unmanaging windows"



commit c0f4e8c073f025abd83a7b0d3a53730b8525d2f8
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 2d3e68da..cb631115 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1100,7 +1100,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]