back out a fix I made on the 15th, no bug. Turns out Camino actually does use nsCocoaWindow for <select>, and allowing popups caused a Tp regression because they also make their own <select> window (no need for a second one in nsCocoaWindow). Another victim of Camino's crazy <select> hack.

This commit is contained in:
joshmoz%gmail.com 2005-12-19 19:46:44 +00:00
Родитель 23b5f12df7
Коммит 3c3d001461
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -148,6 +148,9 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
if (mWindowType == eWindowType_popup || mWindowType == eWindowType_invisible)
features = 0;
if (mWindowType == eWindowType_popup)
return NS_OK;
mWindow = [[NSWindow alloc] initWithContentRect:rect styleMask:features
backing:NSBackingStoreBuffered defer:NO];