mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window-x11: Remove duplicated code
meta_window_change_workspace_without_transients() already does exactly that.
This commit is contained in:
parent
0a9511b24b
commit
b41873dced
@ -2247,19 +2247,11 @@ meta_window_x11_client_message (MetaWindow *window,
|
|||||||
space);
|
space);
|
||||||
|
|
||||||
if (workspace)
|
if (workspace)
|
||||||
{
|
meta_window_change_workspace (window, workspace);
|
||||||
if (window->on_all_workspaces_requested)
|
|
||||||
meta_window_unstick (window);
|
|
||||||
meta_window_change_workspace (window, workspace);
|
|
||||||
}
|
|
||||||
else if (space == (int) 0xFFFFFFFF)
|
else if (space == (int) 0xFFFFFFFF)
|
||||||
{
|
meta_window_stick (window);
|
||||||
meta_window_stick (window);
|
|
||||||
}
|
|
||||||
else
|
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",
|
meta_verbose ("Window %s now on_all_workspaces = %d\n",
|
||||||
window->desc, window->on_all_workspaces);
|
window->desc, window->on_all_workspaces);
|
||||||
|
Loading…
Reference in New Issue
Block a user