diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-08-04 16:18:24 +1200 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-08-04 16:18:24 +1200 |
commit | c141d8fe8bb9115ccb953ed6ea5b0b04bc828125 (patch) | |
tree | 01a9967c607a75141a915d340185b2952a08e9f8 /src/window_manager.rs | |
parent | e85f41bdf72b31f6d9224cb0d9f71986cc12a15e (diff) | |
download | phosphor-c141d8fe8bb9115ccb953ed6ea5b0b04bc828125.zip |
Unify is_cursor_visible and cursor_icon callbacks
It makes sense to handle all cursor icon state at once.
Diffstat (limited to 'src/window_manager.rs')
-rw-r--r-- | src/window_manager.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window_manager.rs b/src/window_manager.rs index a5d2038..8999bcf 100644 --- a/src/window_manager.rs +++ b/src/window_manager.rs @@ -114,8 +114,7 @@ impl WindowManager { window.controller.on_process(); window.update_title(); window.update_window_size(); - window.update_cursor_icon(); - window.update_cursor_visible(); + window.update_cursor(); window.handle_render_request(); } } |