mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 07:10:11 +01:00
Revert "touchpad: cap the edge palm detection zones at 8mm"
This patch only adjusted the left edge, not the right edge which was still on
8%
This reverts commit 3e9e0e2eb1.
This commit is contained in:
parent
3e9e0e2eb1
commit
d27c464a49
1 changed files with 2 additions and 2 deletions
|
|
@ -2646,8 +2646,8 @@ tp_init_palmdetect_edge(struct tp_dispatch *tp,
|
|||
if (width < 70.0)
|
||||
return;
|
||||
|
||||
/* palm edges are 8% of the width on each side up to a max of 8mm */
|
||||
mm.x = min(8, width * 0.08);
|
||||
/* palm edges are 8% of the width on each side */
|
||||
mm.x = width * 0.08;
|
||||
edges = evdev_device_mm_to_units(device, &mm);
|
||||
tp->palm.left_edge = edges.x;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue