You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDL2 doesn't delineate events between windows in the video subsystem, so when one Sdl2Window gets the event pump for polling events, it will capture events from all existing SDL2 Windows.
The text was updated successfully, but these errors were encountered:
I think the only way to handle this is to add an additional event pump layer in front of SDL's that the calling code has to set up and poll, and send those events into each window manually. It wouldn't be possible to toss a window on each thread and have them handle their own event polling with the constraints of the SDL event system, even though it allows for polling on threads other than the main one.
SDL2 doesn't delineate events between windows in the video subsystem, so when one Sdl2Window gets the event pump for polling events, it will capture events from all existing SDL2 Windows.
The text was updated successfully, but these errors were encountered: