Available on crate feature
wayland_frontend
only.Expand description
Utilities for relative pointer support
PointerHandle::relative_motion sends relative pointer events to any ZwpRelativePointerV1 objects created by the client.
extern crate wayland_server;
extern crate smithay;
use smithay::wayland::relative_pointer::RelativePointerManagerState;
use smithay::delegate_relative_pointer;
let state = RelativePointerManagerState::new::<State>(&display.handle());
delegate_relative_pointer!(State);
Structs§
- Relative
Pointer Manager State - State of the relative pointer manager
- Relative
Pointer User Data - User data of ZwpRelativePointerV1 object