summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 23:20:12 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-01-06 23:20:51 +0100
commit91fd6d395fad08bcf5d068be95575865ccb305cb (patch)
tree951a1ad8512097d71cf9edf44aacbdadab98932c /winit
parent00b60d819b25abe14790a26fe0eb5818c3c6bc4f (diff)
downloadiced-91fd6d395fad08bcf5d068be95575865ccb305cb.tar.gz
iced-91fd6d395fad08bcf5d068be95575865ccb305cb.tar.bz2
iced-91fd6d395fad08bcf5d068be95575865ccb305cb.zip
Remove `window::change_title` since it's redundant
Applications can change title declaratively.
Diffstat (limited to 'winit')
-rw-r--r--winit/src/program.rs5
1 files changed, 0 insertions, 5 deletions
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<P, C>(
}));
}
}
- 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);