X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=332dcca21ea8adcc1dacc6a92a2b4fd69976a7cd;hb=8d93b043cc23f5a580363763ad459913127a8664;hp=e97d0f9881607aafc7a84281114acabbf1d43507;hpb=aed278e72703016e2729b55d8b629b7e1b31469e;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index e97d0f98..332dcca2 100644 --- a/src/events.c +++ b/src/events.c @@ -127,6 +127,8 @@ void HandleOtherEvents(Event *event) 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; @@ -544,14 +546,14 @@ void HandleKey(Key key, int key_status) TapeTogglePause(TAPE_TOGGLE_MANUAL); } - +#if 0 #ifndef DEBUG if (game_status == PLAYING && (tape.playing || tape.pausing)) return; #endif - +#endif HandleGadgetsKeyInput(key);