Commit 782bbdb2 authored by Peter Hutterer's avatar Peter Hutterer

touchpad: only log the touch state if we have something to log

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 2bf3d57f
......@@ -1926,7 +1926,8 @@ tp_debug_touch_state(struct tp_dispatch *tp,
tp_touch_active(tp, t) ? "" : "inactive");
evdev_log_debug(device, "touch state: %s\n", buf);
if (buf[0] != '\0')
evdev_log_debug(device, "touch state: %s\n", buf);
static void
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