diff options
Diffstat (limited to 'src/input.rs')
| -rw-r--r-- | src/input.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input.rs b/src/input.rs index 011378db..a8f85b3a 100644 --- a/src/input.rs +++ b/src/input.rs @@ -89,6 +89,9 @@ impl Niri { utime: event.time(), }, ); + + // Redraw to update the cursor position. + self.queue_redraw(); } InputEvent::PointerMotionAbsolute { event, .. } => { let output = self.space.outputs().next().unwrap(); @@ -112,6 +115,9 @@ impl Niri { time: event.time_msec(), }, ); + + // Redraw to update the cursor position. + self.queue_redraw(); } InputEvent::PointerButton { event, .. } => { let pointer = self.seat.get_pointer().unwrap(); |
