mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
relative-pointer-v1: time is in usec, not msec
This commit is contained in:
parent
0c975af1fb
commit
dde9fc19de
1 changed files with 2 additions and 1 deletions
|
@ -450,7 +450,8 @@ static void cursor_motion_absolute(struct sway_cursor *cursor,
|
|||
double dy = ly - cursor->cursor->y;
|
||||
wlr_relative_pointer_manager_v1_send_relative_motion(
|
||||
server.relative_pointer_manager,
|
||||
cursor->seat->wlr_seat, time_msec, dx, dy, dx, dy);
|
||||
cursor->seat->wlr_seat, (uint64_t)time_msec * 1000,
|
||||
dx, dy, dx, dy);
|
||||
|
||||
struct wlr_surface *surface = NULL;
|
||||
double sx, sy;
|
||||
|
|
Loading…
Reference in a new issue