From c6840afc9cf3941a16e18b63ce5a14cafa116100 Mon Sep 17 00:00:00 2001 From: literallylara Date: Tue, 1 Jul 2025 20:59:01 +0200 Subject: [PATCH 1/2] Add build/ to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c94817c..487fbaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ docs/Gemfile.lock docs/_site docs/.jekyll-cache +build/ From b65323d2af4e416795ffde565e3ee3bc7f97dc6b Mon Sep 17 00:00:00 2001 From: literallylara Date: Tue, 1 Jul 2025 21:12:27 +0200 Subject: [PATCH 2/2] Do not call draw_screen() when screensaver is active and delay main loop by 1s --- src/launcher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/launcher.c b/src/launcher.c index f31763a..48f9482 100755 --- a/src/launcher.c +++ b/src/launcher.c @@ -1448,6 +1448,8 @@ int main(int argc, char *argv[]) } if (state.application_running) SDL_Delay(APPLICATION_WAIT_PERIOD); + else if (state.screensaver_active && !state.screensaver_transition) + SDL_Delay(1000); else draw_screen(); }