Only show cursor on leave in hidden mode.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 7e470518ba
commit 1d2a9790c9
  1. 1
      src/x11_window.c

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

Loading…
Cancel
Save