diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-07 20:06:43 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-07 20:06:43 +0200 |
commit | e3c5cd103a8b78d41b4c7b8be8e913e7be2820c0 (patch) | |
tree | 72b1c9f683f9cf6a4eea7da5f9f74cb68e8d9398 /src | |
parent | 63797b8909fe2e38e87cf80e2d9d7b62df070e79 (diff) |
App: Draw frame during warmup
Diffstat (limited to 'src')
-rw-r--r-- | src/app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1638,7 +1638,7 @@ void refresh_App(void) { | |||
1638 | } | 1638 | } |
1639 | } | 1639 | } |
1640 | /* TODO: `pendingRefresh` should be window-specific. */ | 1640 | /* TODO: `pendingRefresh` should be window-specific. */ |
1641 | if (exchange_Atomic(&d->pendingRefresh, iFalse)) { | 1641 | if (d->warmupFrames || exchange_Atomic(&d->pendingRefresh, iFalse)) { |
1642 | /* Draw each window. */ | 1642 | /* Draw each window. */ |
1643 | iConstForEach(PtrArray, j, &windows) { | 1643 | iConstForEach(PtrArray, j, &windows) { |
1644 | iWindow *win = j.ptr; | 1644 | iWindow *win = j.ptr; |