From 7482697248f2f0eadbe6d6fade114d8bedf4c059 Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 1 Nov 2026 17:36:35 +0100 Subject: [PATCH] (by Codex) Preserve exit confirmation during original opening screens --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index 105178e..c48801c 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -3612,7 +3612,7 @@ int main(int argc, char** argv) { const auto until = SDL_GetTicks64() + milliseconds; while (running && !skip_opening && SDL_GetTicks64() < until) { SDL_Event opening_event; - while (SDL_PollEvent(&opening_event)) { + while (quit_confirmation.poll(&opening_event)) { if (opening_event.type == SDL_QUIT) running = false; if (opening_event.type == SDL_KEYDOWN || opening_event.type == SDL_MOUSEBUTTONUP) skip_opening = true;