diff options
author | 2025-01-06 23:25:57 +0100 | |
---|---|---|
committer | 2025-01-06 23:25:57 +0100 | |
commit | 5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3 (patch) | |
tree | 14fea728213e68dabed3244eaefb56bb6fb70eb5 /winit | |
parent | ed199e5e8f5bc210ffc923553983e5d3aa6ee5b6 (diff) | |
download | iced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.tar.gz iced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.tar.bz2 iced-5b70754809df9d9f4f3a2f7d4d348dd58bd86aa3.zip |
Rename `window::change_*` tasks to `set_*`
Diffstat (limited to 'winit')
-rw-r--r-- | winit/src/program.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winit/src/program.rs b/winit/src/program.rs index 95e8a281..499c6252 100644 --- a/winit/src/program.rs +++ b/winit/src/program.rs @@ -1389,7 +1389,7 @@ fn run_action<P, C>( ); } } - window::Action::ChangeMode(id, mode) => { + window::Action::SetMode(id, mode) => { if let Some(window) = window_manager.get_mut(id) { window.raw.set_visible(conversion::visible(mode)); window.raw.set_fullscreen(conversion::fullscreen( @@ -1398,7 +1398,7 @@ fn run_action<P, C>( )); } } - window::Action::ChangeIcon(id, icon) => { + window::Action::SetIcon(id, icon) => { if let Some(window) = window_manager.get_mut(id) { window.raw.set_window_icon(conversion::icon(icon)); } @@ -1436,7 +1436,7 @@ fn run_action<P, C>( window.raw.focus_window(); } } - window::Action::ChangeLevel(id, level) => { + window::Action::SetLevel(id, level) => { if let Some(window) = window_manager.get_mut(id) { window .raw |