This commit is contained in:
Kovid Goyal 2025-04-07 07:58:46 +05:30
commit a9e155cb3e
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1938,6 +1938,7 @@ set_os_window_title(OSWindow *w, const char *title) {
void
hide_mouse(OSWindow *w) {
glfwSetInputMode(w->handle, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
w->mouse_activate_deadline = -1;
}
bool