forked from 12to11/12to11
Fix calculation of microsecond time in relative pointer events
* src/relative_pointer.c (XLRelativePointerSendRelativeMotion): Fix computation of time_lo.
This commit is contained in:
parent
5cec85b987
commit
a866c4068a
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ XLRelativePointerSendRelativeMotion (struct wl_resource *resource,
|
|||
uint32_t time_hi, time_lo;
|
||||
|
||||
time_hi = microsecond_time >> 32;
|
||||
time_lo = microsecond_time >> 32;
|
||||
time_lo = microsecond_time & 0xffffffff;
|
||||
|
||||
zwp_relative_pointer_v1_send_relative_motion (resource, time_hi, time_lo,
|
||||
wl_fixed_from_double (dx),
|
||||
|
|
Loading…
Add table
Reference in a new issue