From 48e578ddaa413de3d222d9ecb55b12de09214116 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 4 Feb 2009 18:24:20 +0000 Subject: [PATCH] Small fix for when a new window is added just before leaving the overlay svn path=/trunk/; revision=182 --- js/ui/workspaces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }));