mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: platform: sdl: fixed Key_Event callback when text input enabled
This commit is contained in:
parent
b175d6d95f
commit
8044d23e7f
@ -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…
x
Reference in New Issue
Block a user