Call SDL_Start/StopTextInput

This commit is contained in:
Eric Wasylishen 2014-06-11 23:38:02 -06:00
parent af4efc022c
commit 89f22bc5ed
1 changed files with 5 additions and 0 deletions

View File

@ -365,6 +365,11 @@ void IN_UpdateForKeydest (void)
Key_ClearStates();
#if !defined(USE_SDL2)
SDL_EnableUNICODE(!gamekey);
#else
if (gamekey)
SDL_StopTextInput();
else
SDL_StartTextInput();
#endif
}
}