aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_virtual_pointer_v1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_virtual_pointer_v1.c b/types/wlr_virtual_pointer_v1.c
index 91318735..8483ae9b 100644
--- a/types/wlr_virtual_pointer_v1.c
+++ b/types/wlr_virtual_pointer_v1.c
@@ -195,6 +195,7 @@ static void virtual_pointer_axis_discrete(struct wl_client *client,
pointer->axis_event[pointer->axis].device = wlr_dev;
pointer->axis_event[pointer->axis].time_msec = time;
pointer->axis_event[pointer->axis].orientation = axis;
+ pointer->axis_event[pointer->axis].delta = wl_fixed_to_double(value);
pointer->axis_event[pointer->axis].delta_discrete = discrete;
}