diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index 66300a3aa..2a63a1183 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -593,7 +593,7 @@ Workspace.prototype = { // the compositor finds out about them... Mainloop.idle_add(Lang.bind(this, function () { - if (metaWin.get_compositor_private()) + if (this.actor && metaWin.get_compositor_private()) this._windowAdded(metaWorkspace, metaWin); return false; }));