diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-29 14:04:38 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-30 14:00:27 +0400 |
| commit | 088877889d738e7d539243a239441bd82eb44a2c (patch) | |
| tree | 59f189318ef70af0e91e4d061543ff7840e8b6ae /src/handlers/compositor.rs | |
| parent | 5c24754435b6681f74800fb5a91444a9c5e5ac78 (diff) | |
| download | niri-088877889d738e7d539243a239441bd82eb44a2c.tar.gz niri-088877889d738e7d539243a239441bd82eb44a2c.tar.bz2 niri-088877889d738e7d539243a239441bd82eb44a2c.zip | |
Add cursor-shape protocol
Diffstat (limited to 'src/handlers/compositor.rs')
| -rw-r--r-- | src/handlers/compositor.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index 71696d06..3a0d5866 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -161,7 +161,8 @@ impl CompositorHandler for State { self.layer_shell_handle_commit(surface); // This might be a cursor surface. - if matches!(&self.niri.cursor_image, CursorImageStatus::Surface(s) if s == surface) { + if matches!(&self.niri.cursor_manager.cursor_image(), CursorImageStatus::Surface(s) if s == surface) + { // FIXME: granular redraws for cursors. self.niri.queue_redraw_all(); } |
