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(); }