From c141d8fe8bb9115ccb953ed6ea5b0b04bc828125 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sun, 4 Aug 2024 16:18:24 +1200 Subject: Unify is_cursor_visible and cursor_icon callbacks It makes sense to handle all cursor icon state at once. --- src/window_manager.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/window_manager.rs') 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(); } } -- cgit v1.2.3-70-g09d2