wayland: implement pointer_warp_v1

This commit is contained in:
Skygrango 2026-05-24 01:47:57 +08:00 • committed by Jacob Kauffmann
parent 821b431973
commit b6cab38528
3 changed files with 47 additions and 0 deletions

View file

@ -86,6 +86,7 @@ use smithay::{
output::OutputManagerState,
pointer_constraints::PointerConstraintsState,
pointer_gestures::PointerGesturesState,
pointer_warp::PointerWarpManager,
presentation::PresentationState,
seat::WaylandFocus,
security_context::{SecurityContext, SecurityContextState},
@ -671,6 +672,7 @@ impl State {
XWaylandKeyboardGrabState::new::<Self>(dh);
let xwayland_shell_state = XWaylandShellState::new::<Self>(dh);
PointerConstraintsState::new::<Self>(dh);
PointerWarpManager::new::<Self>(dh);
PointerGesturesState::new::<Self>(dh);
TabletManagerState::new::<Self>(dh);
SecurityContextState::new::<Self, _>(dh, client_has_no_security_context);