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:09:27 +01:00
parent bc2f1f6818
commit 80e4dd20dc

View File

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