mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-27 10:51:54 +00:00
This patch reverts the previous reversion, and then adds code to queue up events to be sent the next time SDL pumps the event queue. This guarantees that the event watcher/filter _never_ runs from an SDL audio device thread or some other backend-specific internal thread.