From 628866f7d2544cbf88d2c82ae6e6bf74e32bf39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 23 Feb 2023 20:36:52 +0100 Subject: [PATCH] shell/app: Also make recent when raising other windows Mutter no longer picks the next focus window based on the stacking order, but on the active workspace's MRU list. So to keep the old activating behavior, raising other windows is no longer enough. Use the newly added raise_and_make_recent() method to also move the window to the front of the MRU list. https://gitlab.gnome.org/GNOME/mutter/-/issues/2540 Part-of: --- src/shell-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-app.c b/src/shell-app.c index 5c38a9c8d..c164e4eeb 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -459,7 +459,7 @@ shell_app_activate_window (ShellApp *app, MetaWindow *other_window = iter->data; if (other_window != window && meta_window_get_workspace (other_window) == workspace) - meta_window_raise (other_window); + meta_window_raise_and_make_recent (other_window); } g_slist_free (windows_reversed);