|
|
commit e02032bd05399ddf575524d5bbf2851efbbfba9a
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Nov 5 15:57:45 2021 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Nov 5 15:57:45 2021 +0100
Fix for issue #279.
src/Fl_cocoa.mm | 1 +
1 file changed, 1 insertion(+)
diff --git src/Fl_cocoa.mm src/Fl_cocoa.mm
index aa3cd8d..a77665b 100644
--- src/Fl_cocoa.mm
+++ src/Fl_cocoa.mm
@@ -3363,6 +3363,7 @@ void Fl_X::make(Fl_Window* w)
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];
}
[ Direct Link to Message ] | |
|
| |