This commit is contained in:
KleberPF 2026-09-02 00:02:26 +00:00 • committed by GitHub
commit add95a2b38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1300,6 +1300,10 @@ static void incrementCursorImage(void)
if (window->wl.surface != _glfw.wl.pointerSurface)
return;
if (window->cursorMode == GLFW_CURSOR_HIDDEN ||
window->cursorMode == GLFW_CURSOR_DISABLED)
return;
_GLFWcursor* cursor = window->cursor;
if (cursor && cursor->wl.cursor)
{