Commit b41873dc authored by Florian Müllner's avatar Florian Müllner

window-x11: Remove duplicated code

meta_window_change_workspace_without_transients() already does
exactly that.
parent 0a9511b2
......@@ -2247,19 +2247,11 @@ meta_window_x11_client_message (MetaWindow *window,
space);
if (workspace)
{
if (window->on_all_workspaces_requested)
meta_window_unstick (window);
meta_window_change_workspace (window, workspace);
}
meta_window_change_workspace (window, workspace);
else if (space == (int) 0xFFFFFFFF)
{
meta_window_stick (window);
}
meta_window_stick (window);
else
{
meta_verbose ("No such workspace %d for screen\n", space);
}
meta_verbose ("No such workspace %d for screen\n", space);
meta_verbose ("Window %s now on_all_workspaces = %d\n",
window->desc, window->on_all_workspaces);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment