From a39e703fc3ba23a3eff0bdaf394d1afa3ecf2f67 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 17 Mar 2024 09:52:42 +0400 Subject: Don't warp if currently using tablet The tablet will override the position anyway. --- src/niri.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/niri.rs b/src/niri.rs index 13bb4cf0..d96e5e51 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -479,6 +479,10 @@ impl State { return false; } + if self.niri.tablet_cursor_location.is_some() { + return false; + } + let Some(output) = self.niri.layout.active_output() else { return false; }; -- cgit