mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-13 01:00:28 +01:00
touchpad: Allow larger palm sizes.
On MBP13,3 the touch areas are quite large, and a thumb size easily gets to 1000+. Hence need to be able to set palm sizes > 1024 (using 1200 currently). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f35e25c44b
commit
a915cbdbae
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ parse_palm_size_property(const char *prop)
|
|||
if (!prop)
|
||||
return 0;
|
||||
|
||||
if (!safe_atoi(prop, &thr) || thr < 0 || thr > 1024)
|
||||
if (!safe_atoi(prop, &thr) || thr < 0 || thr > 2028)
|
||||
return 0;
|
||||
|
||||
return thr;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue