aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/seat/wlr_seat_pointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/seat/wlr_seat_pointer.c b/types/seat/wlr_seat_pointer.c
index 36ce42b3..2b49b79f 100644
--- a/types/seat/wlr_seat_pointer.c
+++ b/types/seat/wlr_seat_pointer.c
@@ -328,7 +328,7 @@ void wlr_seat_pointer_send_axis(struct wlr_seat *wlr_seat, uint32_t time,
}
double low_res_value;
- int32_t low_res_value_discrete;
+ int32_t low_res_value_discrete = 0;
update_value120_accumulators(client, orientation, value, value_discrete,
&low_res_value, &low_res_value_discrete);