From 34f5adc9c020bdae90403ea2de310508d06bf091 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 4 Feb 2009 22:40:24 +0000 Subject: [PATCH] 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 --- js/ui/workspaces.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index 2a63a1183..c79af1770 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -599,6 +599,9 @@ Workspace.prototype = { })); return; } + + if (!this._isOverlayWindow(win)) + return; let clone = this._addWindowClone(win);