Fix #449
This commit is contained in:
parent
785937ecfc
commit
5755ba72b1
2
glfw/input.c
vendored
2
glfw/input.c
vendored
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user