diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-03 09:20:00 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-03 10:15:19 +0300 |
| commit | 7baf10b751697de0d17a4bac003e5f5207900bf2 (patch) | |
| tree | 8cbd0df16f3c586d53e053e0a11ddf12aa4527f3 | |
| parent | f5d91c5ecc8d2f8ee0e7dd03889844f46e480026 (diff) | |
| download | niri-7baf10b751697de0d17a4bac003e5f5207900bf2.tar.gz niri-7baf10b751697de0d17a4bac003e5f5207900bf2.tar.bz2 niri-7baf10b751697de0d17a4bac003e5f5207900bf2.zip | |
Clarify redraw in refresh_pointer_focus()
| -rw-r--r-- | src/niri.rs | 4 |
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(); } |
