From: Peter Hutterer Date: Mon, 16 Dec 2024 01:59:47 +0000 (+1000) Subject: touchpad: init the thumb size threshold to INT_MAX X-Git-Tag: 1.27.1~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eef065075925d48754c992302c16f8b54ccc40fe;p=platform%2Fupstream%2Flibinput.git 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: --- 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 */