mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
f6e9f6861d
When a GPU error occurs forcing the reporting of a DestroyEvent is not appropriate, because the backend that controls the underlying window is not aware of the error and will continue to report events. Replace the crude DestroyEvent by stashing the error and asking the window nicely to close. The, report the stashed error in the otherwise regular DestroyEvent. Hopefully, this second attempt fixes #603. Fixes: https://todo.sr.ht/~eliasnaur/gio/603 Signed-off-by: Elias Naur <mail@eliasnaur.com>