From e257580b9484762064692b214114442243afa262 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 13 Jul 2012 18:17:43 -0400 Subject: [PATCH] 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 --- src/core/workspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/workspace.c b/src/core/workspace.c index b710dd566..0ab52a697 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) {