1
0
Fork 0
forked from wry/wry

wl-pointer: don't send motion events if the position did not change

This commit is contained in:
Julian Orth 2024-05-08 15:55:02 +02:00
parent 760658522c
commit 4c0e6d9b51
2 changed files with 7 additions and 1 deletions

View file

@ -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);