Skip to content

Commit

Permalink
Fix STR #2589: incorrect cohabitation of modal and non-modal windows.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Manolo Gouy authored and Manolo Gouy committed Mar 20, 2011
1 parent bc0b285 commit a36bca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Fl_cocoa.mm
Expand Up @@ -1931,7 +1931,7 @@ - (NSInteger)conversationIdentifier {
} else if (w->modal()) {
winstyle &= ~NSMiniaturizableWindowMask;
// winstyle &= ~(NSResizableWindowMask | NSMiniaturizableWindowMask);
// winlevel = NSModalPanelWindowLevel;
winlevel = NSModalPanelWindowLevel;
}
else if (w->non_modal()) {
winlevel = NSFloatingWindowLevel;
Expand Down

0 comments on commit a36bca9

Please sign in to comment.