Wayland cursor utilities
This crate contains bindings to the libwayland-cursor.so
library.
These utilities allow you to load cursor images in order to match your cursors to the ones of the system.
First of all, the function load_theme
will allow you to load a
CursorTheme
, which represents the full cursor theme.
From this theme, you can load a specific Cursor
, which can contain
several images if the cursor is animated. It also provides you with the
means of querying which frame of the animation should be displayed at
what time, as well as handles to the buffers containing these frames, to
attach them to a wayland surface.