From 67aa6a0c49ae818d10a3662362e9892c1fe9ac89 Mon Sep 17 00:00:00 2001 From: Victoria Brekenfeld Date: Tue, 18 Aug 2026 19:14:28 +0200 Subject: [PATCH] input: Don't send out pointer events for tool events --- src/input/mod.rs | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/input/mod.rs b/src/input/mod.rs index 28877356..8730e66b 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -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();