projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52679e1
)
touchpad: init the thumb size threshold to INT_MAX
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 16 Dec 2024 01:59:47 +0000
(11:59 +1000)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 18 Dec 2024 08:24:41 +0000
(08:24 +0000)
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>
src/evdev-mt-touchpad-thumb.c
patch
|
blob
|
history
diff --git
a/src/evdev-mt-touchpad-thumb.c
b/src/evdev-mt-touchpad-thumb.c
index ceb123efac90c8c1ec79f4d968ed0f71ba6e5dae..ae6794be949f813c47c7774e11fc92257f440c46 100644
(file)
--- 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 */