Commit 4be8e155 authored by Owen W. Taylor's avatar Owen W. Taylor

Fix crash when starting not on first workspace

If we are starting on something other than the first workspace,
meta_compositor_switch_workspace() will be called before
meta_compositor_manage_screen(); guard against that.
parent 6726fcd2
......@@ -691,6 +691,9 @@ meta_compositor_switch_workspace (MetaCompositor *compositor,
DEBUG_TRACE ("meta_compositor_switch_workspace\n");
if (!info) /* During startup before manage_screen() */
return;
info->switch_workspace_in_progress++;
if (!info->plugin_mgr ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment