Rename window::change_* tasks to set_*
This commit is contained in:
parent
ed199e5e8f
commit
5b70754809
3 changed files with 16 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue