diff --git a/src/win32_window.c b/src/win32_window.c index 39cab15f7..8cc01ee5b 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -278,7 +278,7 @@ static void disableCursor(_GLFWwindow* window) &_glfw.win32.restoreCursorPosX, &_glfw.win32.restoreCursorPosY); updateCursorImage(window); - _glfwCursor(window); + _glfwCenterCursor(window); updateClipRect(window); if (!RegisterRawInputDevices(&rid, 1, sizeof(rid)))