xcb-util-cursor 0.1.1

Bindings to libxcb-cursor.
docs.rs failed to build xcb-util-cursor-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: xcb-util-cursor-0.4.0

xcb-util-cursor

Documentation: https://docs.rs/xcb-util-cursor

xcb-util-cursor is a safe rust interface for libxcb-cursor. It depends on rust-xcb and uses their types.

# Cargo.toml
[dependencies]
xcb-util-cursor = "0.1.1"
let (connection, _) = xcb::Connection::connect(None).unwrap();
let setup = connection.get_setup();
let screen = setup.roots().next().unwrap();

let cursor_context = xcb_util_cursor::CursorContext::new(&connection, &screen).unwrap();

let left_ptr = context.load_cursor("left_ptr").unwrap();