deps: Update smithay & relative motion events
This commit is contained in:
parent
f54f367a0e
commit
21db472f8b
13 changed files with 143 additions and 20 deletions
|
|
@ -8,7 +8,7 @@ use id_tree::NodeId;
|
|||
use smithay::{
|
||||
input::pointer::{
|
||||
AxisFrame, ButtonEvent, GrabStartData as PointerGrabStartData, MotionEvent, PointerGrab,
|
||||
PointerInnerHandle,
|
||||
PointerInnerHandle, RelativeMotionEvent,
|
||||
},
|
||||
output::{Output, WeakOutput},
|
||||
utils::{Logical, Point},
|
||||
|
|
@ -189,6 +189,17 @@ impl PointerGrab<State> for ResizeForkGrab {
|
|||
}
|
||||
}
|
||||
|
||||
fn relative_motion(
|
||||
&mut self,
|
||||
state: &mut State,
|
||||
handle: &mut PointerInnerHandle<'_, State>,
|
||||
_focus: Option<(PointerFocusTarget, Point<i32, Logical>)>,
|
||||
event: &RelativeMotionEvent,
|
||||
) {
|
||||
// While the grab is active, no client has pointer focus
|
||||
handle.relative_motion(state, None, event);
|
||||
}
|
||||
|
||||
fn button(
|
||||
&mut self,
|
||||
data: &mut State,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue