X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=bb28e127eae468ce34303bc5fe507ca545f38aae;hb=ee0895b12e544444db37febb1242bcc8a72d6ad8;hp=8daab243f879851540e972dd04e79f0255a23b0a;hpb=c6f9fba81fc59eff4b6b454dff92adecd28a7ad5;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index 8daab243..bb28e127 100644 --- a/src/events.c +++ b/src/events.c @@ -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: