From 43772d071d6a437036013937c5efc8e4d7a7939a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Tue, 22 Apr 2025 21:44:45 -0400 Subject: [PATCH] Increase delay even more in Window::cursorLock() to ignore mouse delta on Mac. --- src/window/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window/Window.cpp b/src/window/Window.cpp index 08d8d397..a5ee5452 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -640,7 +640,7 @@ void Window::cursorLock() { // https://github.com/glfw/glfw/issues/2523 // Empirically, this seems to be up to 3-6 frames at 60 Hz but in fewer frames at lower framerates, so we use time units. #if defined ARCH_MAC - internal->ignoreMouseDeltaUntil = internal->frameTime + 0.12; + internal->ignoreMouseDeltaUntil = internal->frameTime + 0.15; #endif }