mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-16 00:52:30 +00:00
Call SDL_Start/StopTextInput
This commit is contained in:
parent
af4efc022c
commit
89f22bc5ed
1 changed files with 5 additions and 0 deletions
|
@ -365,6 +365,11 @@ void IN_UpdateForKeydest (void)
|
||||||
Key_ClearStates();
|
Key_ClearStates();
|
||||||
#if !defined(USE_SDL2)
|
#if !defined(USE_SDL2)
|
||||||
SDL_EnableUNICODE(!gamekey);
|
SDL_EnableUNICODE(!gamekey);
|
||||||
|
#else
|
||||||
|
if (gamekey)
|
||||||
|
SDL_StopTextInput();
|
||||||
|
else
|
||||||
|
SDL_StartTextInput();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue