mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
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:
parent
72e7ca44c6
commit
a649f920e8
@ -298,6 +298,7 @@ nsresult nsCocoaWindow::StandardCreate(nsIWidget *aParent,
|
||||
else {
|
||||
features = NSMiniaturizableWindowMask;
|
||||
}
|
||||
features |= NSTitledWindowMask;
|
||||
break;
|
||||
case eWindowType_popup:
|
||||
features |= NSBorderlessWindowMask;
|
||||
|
Loading…
x
Reference in New Issue
Block a user