From: Peter Hutterer Date: Tue, 28 Jul 2015 03:09:52 +0000 (+1000) Subject: touchpad: log when thumb detection is enabled on a device X-Git-Tag: 0.21.0~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42c25dcb89b9391fe73a60b111c77db6532db746;p=platform%2Fupstream%2Flibinput.git touchpad: log when thumb detection is enabled on a device Signed-off-by: Peter Hutterer --- diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index ebb8cee..668a405 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -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; }