chore: Fix remaining clippy lints
This commit is contained in:
parent
0a016991a4
commit
5216eb50ba
14 changed files with 64 additions and 50 deletions
|
|
@ -737,6 +737,8 @@ impl MoveGrab {
|
|||
release: ReleaseMode,
|
||||
evlh: LoopHandle<'static, State>,
|
||||
) -> MoveGrab {
|
||||
// false-positive: `Output`s hash is based on it's inner ptr
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let mut outputs = HashSet::new();
|
||||
outputs.insert(cursor_output.clone());
|
||||
window.output_enter(&cursor_output, window.geometry()); // not accurate but...
|
||||
|
|
@ -798,6 +800,8 @@ impl Drop for MoveGrab {
|
|||
// No more buttons are pressed, release the grab.
|
||||
let output = self.cursor_output.clone();
|
||||
let seat = self.seat.clone();
|
||||
// false-positive: `Output`s hash is based on it's inner ptr
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let window_outputs = self.window_outputs.drain().collect::<HashSet<_>>();
|
||||
let previous = self.previous;
|
||||
let window = self.window.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue