---
name: "wl_cursor_image"
section: "3"
platform: "linux"
package: "wayland-docs"
version: "1.26.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/wl_cursor_image"
---

# wl\_cursor\_image(3)

## NAME

wl\_cursor\_image

## SYNOPSIS

\#include \<wayland-cursor.h\>

### Data Fields

uint32\_t **width**\
 uint32\_t **height**\
 uint32\_t **hotspot\_x**\
 uint32\_t **hotspot\_y**\
 uint32\_t **delay**\

## Detailed Description

A still image part of a cursor

Use **wl\_cursor\_image\_get\_buffer() to get the corresponding** struct wl\_buffer **to attach to your** struct wl\_surface**.**

## Field Documentation

### uint32\_t wl\_cursor\_image::delay

**Animation delay to next frame (ms)**

### uint32\_t wl\_cursor\_image::height

**Actual height**

### uint32\_t wl\_cursor\_image::hotspot\_x

**Hot spot x (must be inside image)**

### uint32\_t wl\_cursor\_image::hotspot\_y

**Hot spot y (must be inside image)**

### uint32\_t wl\_cursor\_image::width

**Actual width**

## Author

**Generated automatically by Doxygen for Wayland from the source code.**
