diff options
| -rw-r--r-- | src/input/mod.rs | 1 | ||||
| -rw-r--r-- | src/niri.rs | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index 9722d9b7..315e5dfd 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -2043,6 +2043,7 @@ impl State { self.move_cursor(pos); } + self.niri.pointer_hidden = false; self.niri.tablet_cursor_location = None; } } diff --git a/src/niri.rs b/src/niri.rs index 851bb25a..0993661b 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -591,9 +591,7 @@ impl State { ); pointer.frame(self); - // We moved the pointer, show it. - self.niri.pointer_hidden = false; - self.niri.reset_pointer_inactivity_timer(); + // We do not show the pointer on programmatic or keyboard movement. // FIXME: granular self.niri.queue_redraw_all(); |
