Revert "SDL: Fix keyrepeat causing thread interruptions" This reverts commit 932b8117a4d83632534536a8b87b8dafcafefbe0.
Vicki Pfau vi@endrift.com
Sat, 14 Jul 2018 13:31:33 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -410,7 +410,7 @@ int key = -1;
if (!event->keysym.mod) { key = mInputMapKey(sdlContext->bindings, SDL_BINDING_KEY, event->keysym.sym); } - if (key != -1 && !event->repeat) { + if (key != -1) { mCoreThreadInterrupt(context); if (event->type == SDL_KEYDOWN) { context->core->addKeys(context->core, 1 << key);