From 7baf10b751697de0d17a4bac003e5f5207900bf2 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 3 Nov 2024 09:20:00 +0300 Subject: Clarify redraw in refresh_pointer_focus() --- src/niri.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/niri.rs b/src/niri.rs index 5f0dbfb5..8c5f0a52 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -710,6 +710,10 @@ impl State { } pointer.frame(self); + + // Pointer motion from a surface to nothing triggers a cursor change to default, which + // means we may need to redraw. + // FIXME: granular self.niri.queue_redraw_all(); } -- cgit