Use monotonic time instead of 0 for motion events
Update to https://github.com/Smithay/smithay/pull/1509, and adopt a similar change.
This commit is contained in:
parent
ca6f05c585
commit
3625454420
7 changed files with 11 additions and 11 deletions
|
|
@ -1470,7 +1470,7 @@ impl State {
|
|||
&MotionEvent {
|
||||
location: position.as_logical(),
|
||||
serial: SERIAL_COUNTER.next_serial(),
|
||||
time: 0,
|
||||
time: self.common.clock.now().as_millis(),
|
||||
},
|
||||
);
|
||||
|
||||
|
|
@ -1539,7 +1539,7 @@ impl State {
|
|||
&MotionEvent {
|
||||
location: position.as_logical(),
|
||||
serial: SERIAL_COUNTER.next_serial(),
|
||||
time: 0,
|
||||
time: self.common.clock.now().as_millis(),
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue