sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit dde9fc19de7fce1ecbd79e8e84e6ae321becad00
parent 0c975af1fb701e9a9f0018da0c2f9fdf32234029
Author: emersion <contact@emersion.fr>
Date:   Wed, 30 Jan 2019 21:30:44 +0100

relative-pointer-v1: time is in usec, not msec

Diffstat:
Msway/input/cursor.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -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;