Fix STR #2589: incorrect cohabitation of modal and non-modal windows.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
bc0b285a23
commit
a36bca971a
@ -1931,7 +1931,7 @@ void Fl_X::make(Fl_Window* w)
|
||||
} else if (w->modal()) {
|
||||
winstyle &= ~NSMiniaturizableWindowMask;
|
||||
// winstyle &= ~(NSResizableWindowMask | NSMiniaturizableWindowMask);
|
||||
// winlevel = NSModalPanelWindowLevel;
|
||||
winlevel = NSModalPanelWindowLevel;
|
||||
}
|
||||
else if (w->non_modal()) {
|
||||
winlevel = NSFloatingWindowLevel;
|
||||
|
Loading…
x
Reference in New Issue
Block a user