engine: platform: sdl: fixed Key_Event callback when text input enabled
This commit is contained in:
parent
b175d6d95f
commit
8044d23e7f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ static void SDLash_KeyEvent( SDL_KeyboardEvent key )
|
||||||
#endif
|
#endif
|
||||||
qboolean numLock = SDL_GetModState() & KMOD_NUM;
|
qboolean numLock = SDL_GetModState() & KMOD_NUM;
|
||||||
|
|
||||||
if( SDL_IsTextInputActive() && down )
|
if( SDL_IsTextInputActive() && down && cls.key_dest != key_game )
|
||||||
{
|
{
|
||||||
if( SDL_GetModState() & KMOD_CTRL )
|
if( SDL_GetModState() & KMOD_CTRL )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue