touchpad: fix a debug message "released" -> "is no longer palm"

The touch itself remains down and is now considered a finger again, so
let's make this message less ambiguous.

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1239>
This commit is contained in:
Peter Hutterer 2024-12-19 10:28:19 +10:00
parent 29bb231114
commit fca5154d1d

View file

@ -1051,7 +1051,7 @@ tp_palm_detect_edge(struct tp_dispatch *tp,
if (tp_palm_detect_multifinger(tp, t, time)) {
t->palm.state = PALM_NONE;
evdev_log_debug(tp->device,
"palm: touch %d released, multiple fingers\n",
"palm: touch %d is no longer palm, multiple fingers\n",
t->index);
/* If labelled a touch as palm, we unlabel as palm when
@ -1061,7 +1061,7 @@ tp_palm_detect_edge(struct tp_dispatch *tp,
} else if (tp_palm_detect_move_out_of_edge(tp, t, time)) {
t->palm.state = PALM_NONE;
evdev_log_debug(tp->device,
"palm: touch %d released, out of edge zone\n",
"palm: touch %d is no longer palm, out of edge zone\n",
t->index);
}
return false;