mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
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;
|
||||
}
|
||||
|
||||
if (!neighbour)
|
||||
return;
|
||||
|
||||
meta_workspace_relocate_windows (workspace, neighbour);
|
||||
|
||||
if (workspace == screen->active_workspace)
|
||||
|
Loading…
Reference in New Issue
Block a user