Lagrange [work/v1.8]

Cleanup

=> d4f4589a1da884d719137d84d1e7eef480f3a572

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. */
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/cdiff/d4f4589a1da884d719137d84d1e7eef480f3a572
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
59.032158 milliseconds
Gemini-to-HTML Time
0.160868 milliseconds

This content has been proxied by September (ba2dc).