mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 05:28:01 +02:00
touchpad: always enable trackpoint palm detection
Trackpoints are situated so that a user is pretty much guaranteed to trigger some palm interaction, even if on a small touchpad. Always enable trackpoint monitoring on touchpads where required. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5a63c82822
commit
160d60eb85
1 changed files with 2 additions and 0 deletions
|
|
@ -2239,6 +2239,8 @@ tp_init_palmdetect(struct tp_dispatch *tp,
|
||||||
!tp_is_tpkb_combo_below(device))
|
!tp_is_tpkb_combo_below(device))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
tp->palm.monitor_trackpoint = true;
|
||||||
|
|
||||||
evdev_device_get_size(device, &width, &height);
|
evdev_device_get_size(device, &width, &height);
|
||||||
|
|
||||||
/* Enable palm detection on touchpads >= 70 mm. Anything smaller
|
/* Enable palm detection on touchpads >= 70 mm. Anything smaller
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue