Rename window::change_* tasks to set_*

This commit is contained in:
Héctor Ramón Jiménez 2025-01-06 23:25:57 +01:00
parent ed199e5e8f
commit 5b70754809
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 16 additions and 18 deletions

View file

@ -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