diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-07 21:31:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-07 21:31:56 +0200 |
commit | f60c945da324c82eb0d4c10ffa5ba9e48bbe6141 (patch) | |
tree | 78df140328302700f2b84b70c4ba5ef75d36d6cd /src/app.c | |
parent | 73c96402a21872dba8999caba8f4374a91f0d8e4 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |