summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 606bf33df..2d6f6d453 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -3182,7 +3182,10 @@ Fl_X* Fl_Cocoa_Window_Driver::makeWindow()
if (show_iconic()) {
show_iconic(0);
w->handle(FL_SHOW); // create subwindows if any
- [cw recursivelySendToSubwindows:@selector(display)]; // draw the window and its subwindows before its icon is computed
+ if (fl_mac_os_version < 101300) { // TODO: threshold may be smaller
+ // draw the window and its subwindows before its icon is computed
+ [cw recursivelySendToSubwindows:@selector(display)];
+ }
[cw miniaturize:nil];
} else if (w->parent()) { // a subwindow
[cw setIgnoresMouseEvents:YES]; // needs OS X 10.2