summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-07 21:31:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-07 21:31:56 +0200
commitf60c945da324c82eb0d4c10ffa5ba9e48bbe6141 (patch)
tree78df140328302700f2b84b70c4ba5ef75d36d6cd /src/app.c
parent73c96402a21872dba8999caba8f4374a91f0d8e4 (diff)
Set REQUEST_URL in the MIME hook environment
This time without a race. IssueID #90
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index da6a343f..8a6b2a66 100644
--- a/src/app.c
+++ b/src/app.c
@@ -550,7 +550,7 @@ void processEvents_App(enum iAppEventMode eventMode) {
550 if (ev.type == SDL_USEREVENT && ev.user.code == asleep_UserEventCode) { 550 if (ev.type == SDL_USEREVENT && ev.user.code == asleep_UserEventCode) {
551 if (SDL_GetTicks() - d->lastEventTime > idleThreshold_App_) { 551 if (SDL_GetTicks() - d->lastEventTime > idleThreshold_App_) {
552 if (!d->isIdling) { 552 if (!d->isIdling) {
553 printf("[App] idling...\n"); 553// printf("[App] idling...\n");
554 fflush(stdout); 554 fflush(stdout);
555 } 555 }
556 d->isIdling = iTrue; 556 d->isIdling = iTrue;
@@ -559,7 +559,7 @@ void processEvents_App(enum iAppEventMode eventMode) {
559 } 559 }
560 d->lastEventTime = SDL_GetTicks(); 560 d->lastEventTime = SDL_GetTicks();
561 if (d->isIdling) { 561 if (d->isIdling) {
562 printf("[App] ...woke up\n"); 562// printf("[App] ...woke up\n");
563 fflush(stdout); 563 fflush(stdout);
564 } 564 }
565 d->isIdling = iFalse; 565 d->isIdling = iFalse;