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:
Ian Douglas Scott 2024-08-21 13:49:49 -07:00 committed by Victoria Brekenfeld
parent ca6f05c585
commit 3625454420
7 changed files with 11 additions and 11 deletions

View file

@ -872,7 +872,7 @@ impl Drop for MoveGrab {
&MotionEvent {
location: pointer.current_location(),
serial,
time: 0,
time: state.common.clock.now().as_millis(),
},
);
}