mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
window: Remove duplicated code
meta_window_change_workspace_without_transients() already does exactly that.
This commit is contained in:
parent
17438ced91
commit
0a9511b24b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user