From eef065075925d48754c992302c16f8b54ccc40fe Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 16 Dec 2024 11:59:47 +1000 Subject: [PATCH] touchpad: init the thumb size threshold to INT_MAX For consistency with the pressure threshold, both are guarded behind a use_size/use_pressure boolean anyway. Part-of: --- src/evdev-mt-touchpad-thumb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evdev-mt-touchpad-thumb.c b/src/evdev-mt-touchpad-thumb.c index ceb123ef..ae6794be 100644 --- a/src/evdev-mt-touchpad-thumb.c +++ b/src/evdev-mt-touchpad-thumb.c @@ -406,6 +406,7 @@ tp_init_thumb(struct tp_dispatch *tp) tp->thumb.detect_thumbs = true; tp->thumb.use_pressure = false; tp->thumb.pressure_threshold = INT_MAX; + tp->thumb.size_threshold = INT_MAX; /* detect thumbs by pressure in the bottom 15mm, detect thumbs by * lingering in the bottom 8mm */ -- 2.34.1