Sanity check to ensure we do not try to relocate windows onto NULL workspace.

This commit is contained in:
Tomas Frydrych 2009-01-20 12:48:59 +00:00
parent 25d628aea2
commit cb3870f9f6

View File

@ -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)