diff --git a/src/niri.rs b/src/niri.rs index c7bff2c5..17110d69 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -1028,6 +1028,12 @@ impl State { } pub fn refresh_pointer_contents(&mut self) { + // Don't move the mouse pointer while the user is interacting with the tablet, as it causes + // unwanted jumps for the client. + if self.niri.tablet_cursor_location.is_some() { + return; + } + let _span = tracy_client::span!("Niri::refresh_pointer_contents"); let pointer = &self.niri.seat.get_pointer().unwrap();