From 91fd6d395fad08bcf5d068be95575865ccb305cb Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 6 Jan 2025 23:20:12 +0100 Subject: Remove `window::change_title` since it's redundant Applications can change title declaratively. --- winit/src/program.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'winit') diff --git a/winit/src/program.rs b/winit/src/program.rs index 58f4d96d..2bb0f910 100644 --- a/winit/src/program.rs +++ b/winit/src/program.rs @@ -1321,11 +1321,6 @@ fn run_action( })); } } - window::Action::ChangeTitle(id, title) => { - if let Some(window) = window_manager.get_mut(id) { - window.raw.set_title(&title); - } - } window::Action::SetResizable(id, resizable) => { if let Some(window) = window_manager.get_mut(id) { window.raw.set_resizable(resizable); -- cgit