mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Only show cursor on leave in hidden mode.
This commit is contained in:
@@ -1208,7 +1208,8 @@ static void processSingleEvent(void)
|
||||
return;
|
||||
}
|
||||
|
||||
showMouseCursor(window);
|
||||
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
|
||||
showMouseCursor(window);
|
||||
|
||||
_glfwInputCursorLeave(window);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user