diff --git a/topbar.js b/topbar.js index a37c855..894276a 100644 --- a/topbar.js +++ b/topbar.js @@ -455,6 +455,7 @@ class WorkspaceMenu extends PanelMenu.Button { let space = Tiling.spaces.spaceOf(workspaceManager.get_active_workspace()); this.entry.label.text = space.name; + GLib.idle_add(GLib.PRIORITY_DEFAULT, this.entry.activate.bind(this.entry)); this._zenItem._switch.setToggleState(!space.showTopBar); }