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:
Peter Hutterer 2017-04-03 13:27:52 +10:00
parent 5a63c82822
commit 160d60eb85

View file

@ -2239,6 +2239,8 @@ tp_init_palmdetect(struct tp_dispatch *tp,
!tp_is_tpkb_combo_below(device))
return;
tp->palm.monitor_trackpoint = true;
evdev_device_get_size(device, &width, &height);
/* Enable palm detection on touchpads >= 70 mm. Anything smaller