mirror of
https://github.com/glfw/glfw
synced 2026-09-26 16:18:21 +03:00
Merge 975d842301 into 92dcf4ce74
This commit is contained in:
commit
add95a2b38
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue