Revert "SDL: Fix keyrepeat causing thread interruptions"

This reverts commit 932b8117a4.
This commit is contained in:
Vicki Pfau 2018-07-14 13:31:33 -07:00
parent a823a706c3
commit 182efc916e
1 changed files with 1 additions and 1 deletions

View File

@ -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);