Sanity check to ensure we do not try to relocate windows onto NULL workspace.
This commit is contained in:
parent
25d628aea2
commit
cb3870f9f6
@ -1185,6 +1185,9 @@ meta_screen_remove_workspace (MetaScreen *screen, MetaWorkspace *workspace,
|
|||||||
l = l->next;
|
l = l->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!neighbour)
|
||||||
|
return;
|
||||||
|
|
||||||
meta_workspace_relocate_windows (workspace, neighbour);
|
meta_workspace_relocate_windows (workspace, neighbour);
|
||||||
|
|
||||||
if (workspace == screen->active_workspace)
|
if (workspace == screen->active_workspace)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user