summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-08 07:16:14 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-02-08 07:16:37 +0100
commit01db1720103886648b9ca05c3a677646bfcb8bfd (patch)
tree54fa86cf784b5d8c646e85dfe6cc07dfac160887
parent53605ba05515d4981f9f6d77fcca317539a36867 (diff)
Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13
Many thanks to @CendioOssman for finding the cure.
-rw-r--r--src/Fl_cocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 4518ba8bf..01bfc52a0 100644
--- a/src/Fl_cocoa.mm
+++ b/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();