]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/seat.c: Allow pointer speed of -1
authorSimon Long <simon@raspberrypi.com>
Fri, 8 Nov 2024 20:38:56 +0000 (20:38 +0000)
committerGitHub <noreply@github.com>
Fri, 8 Nov 2024 20:38:56 +0000 (21:38 +0100)
src/seat.c

index cbfe329b66a41fc5793161c3f527a801315e971a..3aa2e234503cb9292ab6d8a4cb8319c966241cb0 100644 (file)
@@ -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);
                }