1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Only show cursor on leave in hidden mode.

This commit is contained in:
Camilla Berglund 2012-01-30 22:44:41 +01:00
parent 7e470518ba
commit 1d2a9790c9

View File

@ -1208,6 +1208,7 @@ static void processSingleEvent(void)
return; return;
} }
if (window->cursorMode == GLFW_CURSOR_HIDDEN)
showMouseCursor(window); showMouseCursor(window);
_glfwInputCursorLeave(window); _glfwInputCursorLeave(window);