mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Fix #449
This commit is contained in:
parent
785937ecfc
commit
5755ba72b1
1 changed files with 2 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue