Permalink
Browse files

Revert "SDL: Fix keyrepeat causing thread interruptions"

This reverts commit 932b811.
  • Loading branch information...
endrift committed Jul 14, 2018
1 parent a823a70 commit 182efc916e0a21522f2277742fedbc23fb4c8aac
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/platform/sdl/sdl-events.c
@@ -410,7 +410,7 @@ static void _mSDLHandleKeypress(struct mCoreThread* context, struct mSDLPlayer*
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);

0 comments on commit 182efc9

Please sign in to comment.