rnd-20030428-1-src
[rocksndiamonds.git] / src / events.c
index 3d3cdde0e4a7aeb3e351c079aff59baa0825dc02..bb6628964d216db9fb65949b80c36fe00bfb4c4a 100644 (file)
@@ -267,7 +267,7 @@ void SleepWhileUnmapped()
   }
 
   if (game_status == GAME_MODE_PLAYING)
-    KeyboardAutoRepeatOff();
+    KeyboardAutoRepeatOffUnlessAutoplay();
 }
 
 void HandleExposeEvent(ExposeEvent *event)
@@ -347,7 +347,7 @@ void HandleFocusEvent(FocusChangeEvent *event)
     if (game_status == GAME_MODE_PLAYING)
     {
       Delay(100);
-      KeyboardAutoRepeatOff();
+      KeyboardAutoRepeatOffUnlessAutoplay();
     }
     if (old_joystick_status != -1)
       joystick.status = old_joystick_status;