input: Don't send out pointer events for tool events

This commit is contained in:
Victoria Brekenfeld 2026-08-18 19:14:28 +02:00 • committed by Victoria Brekenfeld
parent 9125f8a2a7
commit 67aa6a0c49

View file

@ -1598,15 +1598,7 @@ impl State {
std::mem::drop(shell);
let pointer = seat.get_pointer().unwrap();
pointer.motion(
self,
under.clone(),
&PointerMotionEvent {
location: position.as_logical(),
serial: SERIAL_COUNTER.next_serial(),
time: InputTime::now(),
},
);
pointer.set_location(position.as_logical());
let tablet_seat = seat.tablet_seat();
@ -1686,15 +1678,7 @@ impl State {
std::mem::drop(shell);
let pointer = seat.get_pointer().unwrap();
pointer.motion(
self,
under.clone(),
&PointerMotionEvent {
location: position.as_logical(),
serial: SERIAL_COUNTER.next_serial(),
time: InputTime::now(),
},
);
pointer.set_location(position.as_logical());
let tablet_seat = seat.tablet_seat();