From 163dfbfacb2b7b59b73344314b019bc4db5ffae4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 16 Jun 2015 16:52:48 +1000 Subject: [PATCH] Fix documentation for tap_get_enabled() Technically we return LIBINPUT_CONFIG_TAP_DISABLED, which is 0. Signed-off-by: Peter Hutterer --- src/libinput.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libinput.h b/src/libinput.h index e6a5642d..0d3200f3 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -1879,7 +1879,8 @@ libinput_device_config_tap_set_enabled(struct libinput_device *device, * @ingroup config * * Check if tap-to-click is enabled on this device. If the device does not - * support tapping, this function always returns 0. + * support tapping, this function always returns @ref + * LIBINPUT_CONFIG_TAP_DISABLED. * * @param device The device to configure *