diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index d45592871..f594edeb8 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -660,7 +660,7 @@ static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL; // NOTE: The returned location uses base 0,1 not 0,0 const NSPoint pos = [event locationInWindow]; - _glfwInputCursorPos(window, pos.x, contentRect.size.height - pos.y - 1); + _glfwInputCursorPos(window, pos.x, contentRect.size.height - pos.y); } window->ns.cursorWarpDeltaX = 0;