Fix for issue #373 apparent with macOS platform and SDK ≤ 10.13

Many thanks to @CendioOssman for finding the cure.
This commit is contained in:
ManoloFLTK 2022-02-08 07:16:14 +01:00
parent 53605ba055
commit 01db172010

View File

@ -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();