rnd-20030118-6-src
[rocksndiamonds.git] / src / events.c
index fc6140fc84a0c959d5eaaeb5966acdd1c3fa2d95..bb28e127eae468ce34303bc5fe507ca545f38aae 100644 (file)
@@ -126,7 +126,11 @@ void HandleOtherEvents(Event *event)
       break;
 
     case EVENT_UNMAPNOTIFY:
+#if 0
+      /* This causes the game to stop not only when iconified, but also
+        when on another virtual desktop, which might be not desired. */
       SleepWhileUnmapped();
+#endif
       break;
 
     case EVENT_FOCUSIN:
@@ -871,6 +875,10 @@ void HandleJoystick()
       HandleHelpScreen(!newbutton);
       break;
 
+    case LEVELED:
+      HandleLevelEditorIdle();
+      break;
+
     case PLAYING:
       if (tape.playing || keyboard)
        newbutton = ((joy & JOY_BUTTON) != 0);