mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-25 02:01:05 +01:00
This restores the behaviour before9221548114where we only preventDefault the event if: - the key is recognised - the event is enabled - the event is not filtered (ignoring the KEYPRESS special case, which is unchanged) (cherry picked from commit6e931bee01)