Fix modal dialogs in Cocoa widgets. If they don't have the titled window attribute dialogs cannot become key windows. part of bug 330587, though this fixes the non-sheet case as well. a=bsmedberg for closed tree.

This commit is contained in:
joshmoz%gmail.com 2006-05-11 15:14:29 +00:00
parent 72e7ca44c6
commit a649f920e8

View File

@ -298,6 +298,7 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
else {
features = NSMiniaturizableWindowMask;
}
features |= NSTitledWindowMask;
break;
case eWindowType_popup:
features |= NSBorderlessWindowMask;