Fix for issue #279 about detecting early retina with GL windows.

This commit is contained in:
ManoloFLTK 2021-11-05 15:21:56 +01:00
parent a0654b59ac
commit 76a3ded549
1 changed files with 1 additions and 0 deletions

View File

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