Module cursor_shape

Module cursor_shape 

Source
Available on crate feature wayland_frontend only.
Expand description

Utilities for compositor side cursor theming support

This protocol allows clients to request compositor to draw a cursor for them, thus resulting in more consistent look and feel of the cursor across the applications.

§Initialization

extern crate smithay;
extern crate wayland_server;

use smithay::wayland::cursor_shape::CursorShapeManagerState;




let state = CursorShapeManagerState::new::<State>(&display.handle());

smithay::delegate_dispatch2!(State);

Structs§

CursorShapeManagerState
State of the cursor shape manager.