With SDL 2.32.56 on Wayland, it seems that the event queue may fill up indefinitely: > Event queue is full (65535 events) This causes my program to "freeze". It does not happen with X11. More details: - https://github.com/Genymobile/scrcpy/issues/6105 - https://github.com/Genymobile/scrcpy/issues/6182 (probably the same issue)