mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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,13 +4615,8 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
meta_window_appears_focused_changed (MetaWindow *window)
|
||||
|
Loading…
Reference in New Issue
Block a user