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.
This commit is contained in:
Jasper St. Pierre 2015-01-30 11:35:46 -05:00
parent b82f11acf3
commit 086fcd4a32

View File

@ -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);