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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2659>
This commit is contained in:
parent
ec50381f5c
commit
628866f7d2
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user