summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core.c b/src/core.c
index 437a00972..6471969b3 100644
--- a/src/core.c
+++ b/src/core.c
@@ -275,13 +275,13 @@ meta_core_user_lower_and_unfocus (Display *xdisplay,
g_list_append (window->screen->active_workspace->mru_list,
window);
}
-
- /* focus on the (new) topmost window */
- if (window->has_focus)
- meta_workspace_focus_default_window (window->screen->active_workspace,
- window,
- timestamp);
}
+
+ /* focus the default window, if needed */
+ if (window->has_focus)
+ meta_workspace_focus_default_window (window->screen->active_workspace,
+ NULL,
+ timestamp);
}
void