mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 09:10:04 +01:00
doc: Clarify that the caller need to free retrieved event
Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
2d2df7842c
commit
caf19d5968
1 changed files with 2 additions and 0 deletions
|
|
@ -296,6 +296,8 @@ libinput_dispatch(struct libinput *libinput);
|
|||
*
|
||||
* Retrieve the next event from libinput's internal event queue.
|
||||
*
|
||||
* After handling the retrieved event, the caller must free it using free().
|
||||
*
|
||||
* @param libinput A previously initialized libinput context
|
||||
* @return The next available event, or NULL if no event is available.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue