mirror of https://github.com/fltk/fltk
Fix for issue #279 about detecting early retina with GL windows.
This commit is contained in:
parent
a0654b59ac
commit
76a3ded549
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue