Commit f061027d authored by Peter Hutterer's avatar Peter Hutterer

touchpad: cut down on excessive logging for palm size

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 28ef7456
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment