mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 12:12:16 +00:00
OSX fixed cursor flickering
If the mouse was moved outside of the window in HIDDEN mode and glfwSetCursorPos moved the mouse inside the window, then the cursor was not hidden.
This commit is contained in:
parent
04abe922b7
commit
9369545bb4
@ -1070,6 +1070,7 @@ void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y)
|
||||
{
|
||||
CGAssociateMouseAndMouseCursorPosition(true);
|
||||
}
|
||||
setModeCursor(window, window->cursorMode);
|
||||
}
|
||||
|
||||
void _glfwPlatformSetCursorMode(_GLFWwindow* window, int mode)
|
||||
|
Loading…
Reference in New Issue
Block a user