From d4f4589a1da884d719137d84d1e7eef480f3a572 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Sat, 5 Feb 2022 07:55:29 +0200
Subject: [PATCH 1/1] Cleanup
src/app.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app.c b/src/app.c
index 3e6e9cdc..b323f7c6 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1317,9 +1317,9 @@ void processEvents_App(enum iAppEventMode eventMode) {
d->isSuspended = iFalse;
break;
case SDL_APP_DIDENTERFOREGROUND:
gotEvents = iTrue;
d->warmupFrames = 5;
#if defined (LAGRANGE_ENABLE_IDLE_SLEEP)
gotEvents = iTrue;
d->isIdling = iFalse;
d->lastEventTime = SDL_GetTicks();
#endif
@@ -1387,8 +1387,8 @@ void processEvents_App(enum iAppEventMode eventMode) {
// fflush(stdout);
}
d->isIdling = iFalse;
-#endif
gotEvents = iTrue;
+#endif
/* Keyboard modifier mapping. */
if (ev.type == SDL_KEYDOWN || ev.type == SDL_KEYUP) {
/* Track Caps Lock state as a modifier. */
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).