From d3e72245b003cbeed0810bf00c4a445b7c8a652a Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 29 Oct 2024 12:55:31 +0300 Subject: Don't show the cursor on programmatic movement For keyboard-only use, especially with warp-mouse-to-focus, the intention is that the cursor stays hidden from keyboard and other automatic actions, and only shows up with an actual mouse movement. --- src/input/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input') 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; } } -- cgit