From 73777e83ab22ffb376f28572a622340f5da35b74 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Fri, 5 Dec 2025 21:52:33 +0100 Subject: [PATCH] respect should_exit on linux as well --- src/main_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_linux.cpp b/src/main_linux.cpp index 8e04f61..b470643 100644 --- a/src/main_linux.cpp +++ b/src/main_linux.cpp @@ -452,7 +452,7 @@ int main(int, char**) init(); // Main loop - while (!glfwWindowShouldClose(window)) + while (!glfwWindowShouldClose(window) && !should_exit) { // Poll and handle events (inputs, window resize, etc.) // You can read the io.WantCaptureMouse, io.WantCaptureKeyboard flags to tell if dear imgui wants to use your inputs.