mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 05:40:04 +01:00
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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1095>
This commit is contained in:
parent
52679e1296
commit
eef0650759
1 changed files with 1 additions and 0 deletions
|
|
@ -406,6 +406,7 @@ tp_init_thumb(struct tp_dispatch *tp)
|
||||||
tp->thumb.detect_thumbs = true;
|
tp->thumb.detect_thumbs = true;
|
||||||
tp->thumb.use_pressure = false;
|
tp->thumb.use_pressure = false;
|
||||||
tp->thumb.pressure_threshold = INT_MAX;
|
tp->thumb.pressure_threshold = INT_MAX;
|
||||||
|
tp->thumb.size_threshold = INT_MAX;
|
||||||
|
|
||||||
/* detect thumbs by pressure in the bottom 15mm, detect thumbs by
|
/* detect thumbs by pressure in the bottom 15mm, detect thumbs by
|
||||||
* lingering in the bottom 8mm */
|
* lingering in the bottom 8mm */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue