From: Simon Long Date: Fri, 8 Nov 2024 20:38:56 +0000 (+0000) Subject: src/seat.c: Allow pointer speed of -1 X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=01f6c5d073c59e5db59c8bfb2b49c311a3ccf7d5;p=proto%2Flabwc.git src/seat.c: Allow pointer speed of -1 --- diff --git a/src/seat.c b/src/seat.c index cbfe329b..3aa2e234 100644 --- a/src/seat.c +++ b/src/seat.c @@ -186,7 +186,7 @@ configure_libinput(struct wlr_input_device *wlr_input_device) wlr_log(WLR_INFO, "pointer acceleration unavailable"); } else { wlr_log(WLR_INFO, "pointer acceleration configured"); - if (dc->pointer_speed > -1) { + if (dc->pointer_speed >= -1) { libinput_device_config_accel_set_speed(libinput_dev, dc->pointer_speed); }