From 3eb7244d660ec936cb54c94f403a7c8850f0895d Mon Sep 17 00:00:00 2001 From: "danm-moz%comcast.net" Date: Fri, 25 Jul 2003 14:55:51 +0000 Subject: [PATCH] mark the hidden window's widget as invisible (on all platforms, now). bug 207742 r=brendan,bryner --- xpfe/appshell/src/nsAppShellService.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/xpfe/appshell/src/nsAppShellService.cpp b/xpfe/appshell/src/nsAppShellService.cpp index 75ed4879ebd1..e7a4c4993bcb 100644 --- a/xpfe/appshell/src/nsAppShellService.cpp +++ b/xpfe/appshell/src/nsAppShellService.cpp @@ -726,11 +726,9 @@ nsAppShellService::JustCreateTopWindow(nsIXULWindow *aParent, else { nsWidgetInitData widgetInitData; -#if TARGET_CARBON if (aIsHiddenWindow) widgetInitData.mWindowType = eWindowType_invisible; else -#endif widgetInitData.mWindowType = aChromeMask & nsIWebBrowserChrome::CHROME_OPENAS_DIALOG ? eWindowType_dialog : eWindowType_toplevel;