summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sdl/sdl_input.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c
index 19fbcaae..65bf0815 100644
--- a/src/sdl/sdl_input.c
+++ b/src/sdl/sdl_input.c
@@ -775,6 +775,9 @@ static void IN_ProcessEvents( void )
switch( e.type )
{
case SDL_KEYDOWN:
+ if ( e.key.repeat && Key_GetCatcher( ) == 0 )
+ break;
+
if( ( key = IN_TranslateSDLToQ3Key( &e.key.keysym, qtrue ) ) )
Com_QueueEvent( 0, SE_KEY, key, qtrue, 0, NULL );