window: Remove duplicated code

meta_window_change_workspace_without_transients() already does
exactly that.
This commit is contained in:
Florian Müllner 2015-06-25 16:46:17 +02:00
parent 17438ced91
commit 0a9511b24b

View File

@ -4615,12 +4615,7 @@ meta_window_change_workspace_by_index (MetaWindow *window,
workspace = meta_screen_append_new_workspace (screen, FALSE, CurrentTime);
if (workspace)
{
if (window->on_all_workspaces_requested)
meta_window_unstick (window);
meta_window_change_workspace (window, workspace);
}
meta_window_change_workspace (window, workspace);
}
static void