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:
Manolo Gouy 2011-03-20 21:43:10 +00:00
parent bc0b285a23
commit a36bca971a

View File

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