touchpad: log when thumb detection is enabled on a device

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-07-28 13:09:52 +10:00
parent 091206c907
commit 42c25dcb89

View file

@ -1787,6 +1787,10 @@ tp_init_thumb(struct tp_dispatch *tp)
tp->thumb.upper_thumb_line = ymax - yres * 15;
tp->thumb.lower_thumb_line = ymax - yres * 8;
log_debug(tp_libinput_context(tp),
"thumb: enabled thumb detection on '%s'\n",
device->devname);
return 0;
}