mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-04 12:00:13 +01:00
doc: Rephrase touch event slot description to be more event centric
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 <jadahl@gmail.com>
This commit is contained in:
parent
8dd059061b
commit
1bed4eadd2
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue