summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Fl_cocoa.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 63c6c8e93..2c130f5da 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -3143,6 +3143,7 @@ Fl_X* Fl_Cocoa_Window_Driver::makeWindow()
Fl::e_number = old_event;
// if (w->modal()) { Fl::modal_ = w; fl_fix_focus(); }
+ if (!w->parent()) [myview did_view_resolution_change]; // to set mapped_to_retina to its current state
[pool release];
return x;
}