From 1bed4eadd27d1c9fae83839140f66b132b330b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Tue, 11 Feb 2014 23:30:28 +0100 Subject: [PATCH] doc: Rephrase touch event slot description to be more event centric MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is unclear what "current" means as events are asynchronous, and since a slot is associated with a touch event rather than a device, change the description to reflect this. Signed-off-by: Jonas Ã…dahl --- src/libinput.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libinput.h b/src/libinput.h index c335ecea..4b0680c9 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -555,12 +555,12 @@ libinput_event_touch_get_time(struct libinput_event_touch *event); /** * @ingroup event_touch * - * Get the currently active slot on this device. See the kernel's multitouch + * Get the slot of this touch event. See the kernel's multitouch * protocol B documentation for more information. * * @note this function should not be called for LIBINPUT_EVENT_TOUCH_FRAME. * - * @return The currently active slot on this multitouch device + * @return The slot of this touch event */ uint32_t libinput_event_touch_get_slot(struct libinput_event_touch *event);