mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
33146961f4
The macOS redraw callback is not invoked on the main thread, so its access to window fields must be synchronized. An alternative would be to schedule the asynchronous redraws on the main thread, but I believe frame callbacks are performance-sensitive enough to warrant the extra locking complexity. Signed-off-by: Elias Naur <mail@eliasnaur.com>