diff --git a/src/x11_window.c b/src/x11_window.c index ccf049f9..ad34eb81 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -1208,7 +1208,8 @@ static void processSingleEvent(void) return; } - showMouseCursor(window); + if (window->cursorMode == GLFW_CURSOR_HIDDEN) + showMouseCursor(window); _glfwInputCursorLeave(window); break;