wl_cursor_image
Contents
Detailed Description
A still image part of a cursor
Use wl_cursor_image_get_buffer()togetthecorrespondingstructwl_buffertoattachtoyourstructwl_surface.Field Documentation
uint32_twl_cursor_image::delay
Animation delay to next frame (ms)
uint32_twl_cursor_image::height
Actual height
uint32_twl_cursor_image::hotspot_x
Hot spot x (must be inside image)
uint32_twl_cursor_image::hotspot_y
Hot spot y (must be inside image)
uint32_twl_cursor_image::width
Actual width
Name
wl_cursor_image
Synopsis
#include <wayland-cursor.h>
DataFields
uint32_t width
uint32_t height
uint32_t hotspot_x
uint32_t hotspot_y
uint32_t delay