diff --git a/js/ui/main.js b/js/ui/main.js index 47dadef3b..155cdb299 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -223,7 +223,7 @@ function start() { global.screen.connect('window-entered-monitor', _windowEnteredMonitor); global.screen.connect('window-left-monitor', _windowLeftMonitor); - Mainloop.idle_add(_nWorkspacesChanged); + _nWorkspacesChanged(); } let _workspaces = [];