Closed DavidVentura closed 4 months ago
Should we instead just call pause on this event?
I am just anxious making users add yet another required function.
I don't have an opinion on it -- a termination is different, as the resources could/should be freed.
Maybe all events should be handled with HandleEvent(Event e)
or something along those lines.
If you prefer to stay with HandleSuspend
as the handler for this event, feel free to close this PR
OH sheesh, sorry just noticing this now - interesting I ran into the same issue and solved it in a really terrible way. This would be a much better way to do it.
This change depends on https://github.com/cntools/rawdraw/pull/100 and is only here for completion's sake --
HandleWindowTermination
would be come required.Updating the
rawdraw
submodule is necessary for this change to do anything.