From 086fcd4a32ffff1755a8349b78516f2cb12e043c Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 30 Jan 2015 11:35:46 -0500 Subject: [PATCH] shell-app: Only raise windows on the same workspace when activating them For some reason, we never did this, even though this is what the comment says we should be doing. --- src/shell-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-app.c b/src/shell-app.c index 94b295171..60be10042 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -582,7 +582,7 @@ shell_app_activate_window (ShellApp *app, { MetaWindow *other_window = iter->data; - if (other_window != window) + if (other_window != window && meta_window_get_workspace (other_window) == workspace) meta_window_raise (other_window); } g_slist_free (windows_reversed);