Common Lisp Package: CLX-CURSOR

Library for loading cursor pixmaps from Xcur files and rendering it
with Xrender. Library supports themes.

README:

FUNCTION

Public

ADD-CURSOR (DISPLAY DRAWABLE XCURSOR NAME)

Stores xcursor into cache. @var{drawable} must be window or pixmap.
@var{name} must be keyword.

CURSOR (DRAWABLE NAME)

Returns cursor object, which can be used with (xlib:window-cursor).
If Xrender and theme icon file is available, tries to load cursor from that file, else load standard xlib cursor glyph. index.theme is not supported.

LOAD-CURSOR-FROM-FILE (DISPLAY FILEPATH)

Reads Xcur file, and returns xcursor object. xcursor object can be used in @reffun{add-cursor}.