This commit is contained in:
Kovid Goyal 2018-04-09 20:13:13 +05:30
parent 785937ecfc
commit 5755ba72b1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

2
glfw/input.c vendored
View File

@ -620,7 +620,9 @@ GLFWAPI void glfwSetInputMode(GLFWwindow* handle, int mode, int value)
&window->virtualCursorPosX,
&window->virtualCursorPosY);
#ifdef __APPLE__
if (_glfwPlatformWindowFocused(window))
#endif
_glfwPlatformSetCursorMode(window, value);
}
else if (mode == GLFW_STICKY_KEYS)