FLTK logo

[branch-1.3] e02032b - Fix for issue #279.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[branch-1.3] e02032b - Fix for issue #279. "ManoloFLTK" Nov 05, 2021  
 
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 ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.