From e02e0756a05fd24e22fb3b093cbb63b9fc89f9ce Mon Sep 17 00:00:00 2001 From: Simon Piette Date: Sun, 9 Sep 2012 15:39:00 -0400 Subject: Fix https://bugzilla.gnome.org/show_bug.cgi?id=675468 with http://git.gnome.org/browse/mutter/commit/?id=e257580b --- mutter-meta_stack_default_focus_window.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 mutter-meta_stack_default_focus_window.patch (limited to 'mutter-meta_stack_default_focus_window.patch') diff --git a/mutter-meta_stack_default_focus_window.patch b/mutter-meta_stack_default_focus_window.patch new file mode 100644 index 0000000..d857cc9 --- /dev/null +++ b/mutter-meta_stack_default_focus_window.patch @@ -0,0 +1,24 @@ +commit e257580b9484762064692b214114442243afa262 +Author: Jasper St. Pierre +Date: Fri Jul 13 18:17:43 2012 -0400 + + workspace: Respect the not_this_one parameter passed in + + In the case of focus-follows-mouse, we need to ensure that we + do not select a certain window after closing another one. + + https://bugzilla.gnome.org/show_bug.cgi?id=675982 + +diff --git a/src/core/workspace.c b/src/core/workspace.c +index b710dd5..0ab52a6 100644 +--- a/src/core/workspace.c ++++ b/src/core/workspace.c +@@ -1312,7 +1312,7 @@ focus_ancestor_or_top_window (MetaWorkspace *workspace, + + window = meta_stack_get_default_focus_window (workspace->screen->stack, + workspace, +- NULL); ++ not_this_one); + + if (window) + { -- cgit