summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index fb2ec9c..8789f3e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6219,6 +6219,8 @@ meta_window_show_menu (MetaWindow *window,
ops |= META_MENU_OP_MOVE_DOWN;
}
+ meta_screen_free_workspace_layout (&layout);
+
if (window->maximized)
ops |= META_MENU_OP_UNMAXIMIZE;
else