Add unset method to input grab traits
Fixes https://github.com/pop-os/cosmic-comp/issues/403.
This commit is contained in:
parent
d16a9e387d
commit
1216cd0b67
8 changed files with 36 additions and 6 deletions
|
|
@ -575,6 +575,8 @@ impl PointerGrab<State> for MoveGrab {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
fn unset(&mut self, _data: &mut State) {}
|
||||
}
|
||||
|
||||
impl TouchGrab<State> for MoveGrab {
|
||||
|
|
@ -632,6 +634,8 @@ impl TouchGrab<State> for MoveGrab {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
fn unset(&mut self, _data: &mut State) {}
|
||||
}
|
||||
|
||||
impl MoveGrab {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue