chore: clippy
This commit is contained in:
parent
3b70bc0265
commit
0847247c33
77 changed files with 865 additions and 1029 deletions
|
|
@ -126,7 +126,7 @@ impl XdgActivationHandler for State {
|
|||
|
||||
let Some((element_output, element_workspace)) = shell
|
||||
.space_for(&element)
|
||||
.map(|w| (w.output.clone(), w.handle.clone()))
|
||||
.map(|w| (w.output.clone(), w.handle))
|
||||
else {
|
||||
return;
|
||||
};
|
||||
|
|
@ -227,7 +227,7 @@ impl XdgActivationHandler for State {
|
|||
} else {
|
||||
shell
|
||||
.pending_activations
|
||||
.insert(ActivationKey::Wayland(surface), context.clone());
|
||||
.insert(ActivationKey::Wayland(surface), *context);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue