wayland: add times to all input events
This commit is contained in:
parent
568341a3d0
commit
145e4dbc24
16 changed files with 235 additions and 101 deletions
|
|
@ -40,6 +40,7 @@ pub struct PendingScroll {
|
|||
pub axis: [Cell<Option<Fixed>>; 2],
|
||||
pub stop: [Cell<bool>; 2],
|
||||
pub source: Cell<Option<u32>>,
|
||||
pub time_usec: Cell<u64>,
|
||||
}
|
||||
|
||||
impl PendingScroll {
|
||||
|
|
@ -58,6 +59,7 @@ impl PendingScroll {
|
|||
Cell::new(self.stop[1].take()),
|
||||
],
|
||||
source: Cell::new(self.source.take()),
|
||||
time_usec: Cell::new(self.time_usec.take()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue