|
@@ -796,7 +796,7 @@ static void setCursorImage(_GLFWwindow* window,
|
|
|
cursorWayland->yhot = image->hotspot_y;
|
|
|
}
|
|
|
|
|
|
- wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.serial,
|
|
|
+ wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.pointerEnterSerial,
|
|
|
surface,
|
|
|
cursorWayland->xhot / scale,
|
|
|
cursorWayland->yhot / scale);
|
|
@@ -1547,7 +1547,7 @@ static void lockPointer(_GLFWwindow* window)
|
|
|
window->wl.pointerLock.relativePointer = relativePointer;
|
|
|
window->wl.pointerLock.lockedPointer = lockedPointer;
|
|
|
|
|
|
- wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.serial,
|
|
|
+ wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.pointerEnterSerial,
|
|
|
NULL, 0, 0);
|
|
|
}
|
|
|
|
|
@@ -1611,7 +1611,7 @@ void _glfwPlatformSetCursor(_GLFWwindow* window, _GLFWcursor* cursor)
|
|
|
}
|
|
|
else if (window->cursorMode == GLFW_CURSOR_HIDDEN)
|
|
|
{
|
|
|
- wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.serial, NULL, 0, 0);
|
|
|
+ wl_pointer_set_cursor(_glfw.wl.pointer, _glfw.wl.pointerEnterSerial, NULL, 0, 0);
|
|
|
}
|
|
|
}
|
|
|
|