wl-pointer: don't send motion events if the position did not change
This commit is contained in:
parent
760658522c
commit
4c0e6d9b51
2 changed files with 7 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ use std::{
|
|||
ops::{Add, AddAssign, Sub, SubAssign},
|
||||
};
|
||||
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Default)]
|
||||
#[repr(transparent)]
|
||||
pub struct Fixed(pub i32);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue