mark the hidden window's widget as invisible (on all platforms, now). bug 207742 r=brendan,bryner

This commit is contained in:
danm-moz%comcast.net 2003-07-25 14:55:51 +00:00
Родитель 5cef6bf2e2
Коммит 3eb7244d66
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

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