projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030120-1-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 8daab243f879851540e972dd04e79f0255a23b0a..bb28e127eae468ce34303bc5fe507ca545f38aae 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-126,7
+126,11
@@
void HandleOtherEvents(Event *event)
break;
case EVENT_UNMAPNOTIFY:
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();
SleepWhileUnmapped();
+#endif
break;
case EVENT_FOCUSIN:
break;
case EVENT_FOCUSIN: