FLTK logo

[master] 01db172 - 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 ]

[master] 01db172 - Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13 "ManoloFLTK" Feb 07, 2022  
 
commit 01db1720103886648b9ca05c3a677646bfcb8bfd
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Tue Feb 8 07:16:14 2022 +0100
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Tue Feb 8 07:16:37 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 4518ba8..01bfc52 100644
--- src/Fl_cocoa.mm
+++ src/Fl_cocoa.mm
@@ -2303,8 +2303,8 @@ static FLTextInputContext* fltextinputcontext_instance = nil;
       CGImageRelease(img);
     }
   }
-  Fl_Cocoa_Window_Driver::q_release_context();
 #endif
+  Fl_Cocoa_Window_Driver::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'.