Ignore newly added non-overlay windows

This prevents e.g. the popup menu from statusmenu from appearing
as a toplevel window.

svn path=/trunk/; revision=185
This commit is contained in:
Colin Walters 2009-02-04 22:40:24 +00:00
parent cd645af5ae
commit 34f5adc9c0

View File

@ -599,6 +599,9 @@ Workspace.prototype = {
}));
return;
}
if (!this._isOverlayWindow(win))
return;
let clone = this._addWindowClone(win);