Format Rust code using rustfmt
This commit is contained in:
parent
4aab013eb8
commit
07d5a8768d
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ pub async fn get_active_window(environment: &Environment, config: &Vec<Config>)
|
|||
{
|
||||
Some(window) => match window.app_id {
|
||||
Some(id) => Client::Class(id),
|
||||
None => window.window_properties
|
||||
None => window
|
||||
.window_properties
|
||||
.and_then(|window_properties| window_properties.class)
|
||||
.map_or(Client::Default, Client::Class),
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue