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
|
|
@ -462,6 +462,8 @@ impl PointerGrab<State> for ResizeForkGrab {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
fn unset(&mut self, _data: &mut State) {}
|
||||
}
|
||||
|
||||
impl TouchGrab<State> for ResizeForkGrab {
|
||||
|
|
@ -521,4 +523,6 @@ impl TouchGrab<State> for ResizeForkGrab {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
fn unset(&mut self, _data: &mut State) {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,4 +99,6 @@ impl KeyboardGrab<State> for SwapWindowGrab {
|
|||
fn start_data(&self) -> &KeyboardGrabStartData<State> {
|
||||
&KeyboardGrabStartData { focus: None }
|
||||
}
|
||||
|
||||
fn unset(&mut self, _state: &mut State) {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue