add always on top action

This commit is contained in:
Night_Hunter 2022-12-10 01:42:51 +13:00 committed by Héctor Ramón Jiménez
parent 871f59f3be
commit d1d13f6f16
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 13 additions and 0 deletions

View file

@ -788,6 +788,9 @@ pub fn run_command<A, E>(
user_attention.map(conversion::user_attention),
),
window::Action::GainFocus => window.focus_window(),
window::Action::AlwaysOnTop(value) => {
window.set_always_on_top(value)
}
},
command::Action::System(action) => match action {
system::Action::QueryInformation(_tag) => {