diff options
-rw-r--r-- | sway/input/cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 263b6758..5ede6e74 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -421,8 +421,8 @@ static void handle_cursor_motion(struct wl_listener *listener, void *data) { | |||
421 | 421 | ||
422 | wlr_relative_pointer_manager_v1_send_relative_motion( | 422 | wlr_relative_pointer_manager_v1_send_relative_motion( |
423 | server.relative_pointer_manager, | 423 | server.relative_pointer_manager, |
424 | cursor->seat->wlr_seat, event->time_msec, dx, dy, | 424 | cursor->seat->wlr_seat, (uint64_t)event->time_msec * 1000, |
425 | dx_unaccel, dy_unaccel); | 425 | dx, dy, dx_unaccel, dy_unaccel); |
426 | 426 | ||
427 | struct wlr_surface *surface = NULL; | 427 | struct wlr_surface *surface = NULL; |
428 | double sx, sy; | 428 | double sx, sy; |