From fb78e9f694a638a39f1a38be1a37cb7f35739ad6 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Wed, 12 Nov 2025 01:17:10 +0300 Subject: [PATCH] replace glfwWaitEvents with glfwWaitEventsTimeout --- src/window/detail/GLFWWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window/detail/GLFWWindow.cpp b/src/window/detail/GLFWWindow.cpp index 236ce16d..88df3940 100644 --- a/src/window/detail/GLFWWindow.cpp +++ b/src/window/detail/GLFWWindow.cpp @@ -188,7 +188,7 @@ public: codepoints.clear(); pressedKeys.clear(); if (waitForRefresh) { - glfwWaitEvents(); + glfwWaitEventsTimeout(0.5); } else { glfwPollEvents(); }