aboutsummaryrefslogtreecommitdiff
path: root/src/niri.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-11-03 09:20:00 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-11-03 10:15:19 +0300
commit7baf10b751697de0d17a4bac003e5f5207900bf2 (patch)
tree8cbd0df16f3c586d53e053e0a11ddf12aa4527f3 /src/niri.rs
parentf5d91c5ecc8d2f8ee0e7dd03889844f46e480026 (diff)
downloadniri-7baf10b751697de0d17a4bac003e5f5207900bf2.tar.gz
niri-7baf10b751697de0d17a4bac003e5f5207900bf2.tar.bz2
niri-7baf10b751697de0d17a4bac003e5f5207900bf2.zip
Clarify redraw in refresh_pointer_focus()
Diffstat (limited to 'src/niri.rs')
-rw-r--r--src/niri.rs4
1 files changed, 4 insertions, 0 deletions
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();
}