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:
Andri Pálsson 2013-10-06 16:55:39 +02:00
parent 04abe922b7
commit 9369545bb4

View File

@ -1070,6 +1070,7 @@ void _glfwPlatformSetCursorPos(_GLFWwindow* window, double x, double y)
{
CGAssociateMouseAndMouseCursorPosition(true);
}
setModeCursor(window, window->cursorMode);
}
void _glfwPlatformSetCursorMode(_GLFWwindow* window, int mode)