summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-05 07:55:29 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-05 07:55:29 +0200
commitd4f4589a1da884d719137d84d1e7eef480f3a572 (patch)
tree7f64a8fa71aeda80e0acbf7fba2a5c20c7371fd0
parent403d68006d3d01d35de9b04adab05a23060dc434 (diff)
Cleanup
-rw-r--r--src/app.c4
1 files 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) {
1317 d->isSuspended = iFalse; 1317 d->isSuspended = iFalse;
1318 break; 1318 break;
1319 case SDL_APP_DIDENTERFOREGROUND: 1319 case SDL_APP_DIDENTERFOREGROUND:
1320 gotEvents = iTrue;
1321 d->warmupFrames = 5; 1320 d->warmupFrames = 5;
1322#if defined (LAGRANGE_ENABLE_IDLE_SLEEP) 1321#if defined (LAGRANGE_ENABLE_IDLE_SLEEP)
1322 gotEvents = iTrue;
1323 d->isIdling = iFalse; 1323 d->isIdling = iFalse;
1324 d->lastEventTime = SDL_GetTicks(); 1324 d->lastEventTime = SDL_GetTicks();
1325#endif 1325#endif
@@ -1387,8 +1387,8 @@ void processEvents_App(enum iAppEventMode eventMode) {
1387// fflush(stdout); 1387// fflush(stdout);
1388 } 1388 }
1389 d->isIdling = iFalse; 1389 d->isIdling = iFalse;
1390#endif
1391 gotEvents = iTrue; 1390 gotEvents = iTrue;
1391#endif
1392 /* Keyboard modifier mapping. */ 1392 /* Keyboard modifier mapping. */
1393 if (ev.type == SDL_KEYDOWN || ev.type == SDL_KEYUP) { 1393 if (ev.type == SDL_KEYDOWN || ev.type == SDL_KEYUP) {
1394 /* Track Caps Lock state as a modifier. */ 1394 /* Track Caps Lock state as a modifier. */