mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-05 10:10:10 +01:00
touchpad: cut down on excessive logging for palm size
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
28ef7456d3
commit
f061027dbb
1 changed files with 3 additions and 2 deletions
|
|
@ -799,8 +799,9 @@ tp_palm_detect_touch_size_triggered(struct tp_dispatch *tp,
|
|||
|
||||
if (t->major > tp->palm.size_threshold ||
|
||||
t->minor > tp->palm.size_threshold) {
|
||||
evdev_log_debug(tp->device,
|
||||
"palm: touch size exceeded\n");
|
||||
if (t->palm.state != PALM_TOUCH_SIZE)
|
||||
evdev_log_debug(tp->device,
|
||||
"palm: touch size exceeded\n");
|
||||
t->palm.state = PALM_TOUCH_SIZE;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue