mirror of
https://github.com/glfw/glfw.git
synced 2024-12-01 16:44:37 +00:00
Only show cursor on leave in hidden mode.
This commit is contained in:
parent
7e470518ba
commit
1d2a9790c9
@ -1208,7 +1208,8 @@ static void processSingleEvent(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
showMouseCursor(window);
|
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
|
||||||
|
showMouseCursor(window);
|
||||||
|
|
||||||
_glfwInputCursorLeave(window);
|
_glfwInputCursorLeave(window);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user