FLTK logo

[branch-1.3] 80e4dd2 - Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13

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] 80e4dd2 - Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13 "ManoloFLTK" Feb 07, 2022  
 
commit 80e4dd20dc0fe38855e9bbc855259f4723535936
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Feb 8 07:09:27 2022 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Feb 8 07:09:40 2022 +0100

    Fix for issue #373 apparent with macOS platform and SDK â?¤ 10.13
    
    Many thanks to @CendioOssman for finding the cure.

 src/Fl_cocoa.mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git src/Fl_cocoa.mm src/Fl_cocoa.mm
index 3ce77f9..e392157 100644
--- src/Fl_cocoa.mm
+++ src/Fl_cocoa.mm
@@ -2474,8 +2474,8 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
       CGImageRelease(img);
     }
   }
-  Fl_X::q_release_context();
 #endif
+  Fl_X::q_release_context();
   if (!through_Fl_X_flush) window->clear_damage();
   through_drawRect = NO;
   fl_unlock_function();
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'.