diff options
Diffstat (limited to '')
| -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 | 
