summaryrefslogtreecommitdiff
path: root/src/workspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/workspace.c')
-rw-r--r--src/workspace.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/workspace.c b/src/workspace.c
index f5ca089..1e9e5b6 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -219,7 +219,10 @@ meta_workspace_activate (MetaWorkspace *workspace)
workspace->screen->active_workspace = workspace;
set_active_space_hint (workspace->screen);
-
+
+ if (old == NULL)
+ return;
+
meta_workspace_queue_calc_showing (old);
meta_workspace_queue_calc_showing (workspace);