input: Don't send out pointer events for tool events
This commit is contained in:
parent
9125f8a2a7
commit
67aa6a0c49
1 changed files with 2 additions and 18 deletions
|
|
@ -1598,15 +1598,7 @@ impl State {
|
||||||
std::mem::drop(shell);
|
std::mem::drop(shell);
|
||||||
|
|
||||||
let pointer = seat.get_pointer().unwrap();
|
let pointer = seat.get_pointer().unwrap();
|
||||||
pointer.motion(
|
pointer.set_location(position.as_logical());
|
||||||
self,
|
|
||||||
under.clone(),
|
|
||||||
&PointerMotionEvent {
|
|
||||||
location: position.as_logical(),
|
|
||||||
serial: SERIAL_COUNTER.next_serial(),
|
|
||||||
time: InputTime::now(),
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
let tablet_seat = seat.tablet_seat();
|
let tablet_seat = seat.tablet_seat();
|
||||||
|
|
||||||
|
|
@ -1686,15 +1678,7 @@ impl State {
|
||||||
std::mem::drop(shell);
|
std::mem::drop(shell);
|
||||||
|
|
||||||
let pointer = seat.get_pointer().unwrap();
|
let pointer = seat.get_pointer().unwrap();
|
||||||
pointer.motion(
|
pointer.set_location(position.as_logical());
|
||||||
self,
|
|
||||||
under.clone(),
|
|
||||||
&PointerMotionEvent {
|
|
||||||
location: position.as_logical(),
|
|
||||||
serial: SERIAL_COUNTER.next_serial(),
|
|
||||||
time: InputTime::now(),
|
|
||||||
},
|
|
||||||
);
|
|
||||||
|
|
||||||
let tablet_seat = seat.tablet_seat();
|
let tablet_seat = seat.tablet_seat();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue