Small fix for when a new window is added just before leaving the overlay

svn path=/trunk/; revision=182
This commit is contained in:
Dan Winship 2009-02-04 18:24:20 +00:00
parent 3392bef5c7
commit 48e578ddaa

View File

@ -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;
}));