From 01f6c5d073c59e5db59c8bfb2b49c311a3ccf7d5 Mon Sep 17 00:00:00 2001 From: Simon Long Date: Fri, 8 Nov 2024 20:38:56 +0000 Subject: [PATCH] src/seat.c: Allow pointer speed of -1 --- src/seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.52.0