From f96255beb1b23e47048d1e0479fc53ef4c36b747 Mon Sep 17 00:00:00 2001 From: rcaridade145 Date: Tue, 3 Mar 2020 20:51:17 +0000 Subject: workspace: Don't try to use per-workspace MRU lists as a hint for focusing A prior commit switched from focusing the topmost window as the default window to focusing the MRU window. This was done in alignment with the introduction of per-workspace MRU lists to avoid problems where the window stack was inadvertently changed when focusing windows during window switches. Now that focusing windows don't have as big an impact on the stacking order, we can revert back to focusing the top window, which is less confusing to the user. For now, leave per-workspace MRU lists, as they're a pretty good approximation of a global MRU list, and it works well enough. https://bugzilla.gnome.org/show_bug.cgi?id=620744 Based on commit https://gitlab.gnome.org/GNOME/metacity/-/commit/f628d8f8901f46fa9e00707ae9d7ccfd1e85f427 --- src/core/window.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/window.c') diff --git a/src/core/window.c b/src/core/window.c index 603bedf3..bc04b644 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -6214,7 +6214,6 @@ idle_update_icon (gpointer data) return FALSE; } - MetaWorkspace * meta_window_get_workspace (MetaWindow *window) { @@ -6224,7 +6223,6 @@ meta_window_get_workspace (MetaWindow *window) return window->workspace; } - GList* meta_window_get_workspaces (MetaWindow *window) { -- cgit v1.2.1