mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 10:00:27 +01:00
doc: fix libinput_event_destroy parameter
Fix libinput_event_destroy call by passing the correct parameter (event) in the example code. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
This commit is contained in:
parent
33e202b8cd
commit
b1ee7ad2eb
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ int main(void) {
|
|||
|
||||
// handle the event here
|
||||
|
||||
libinput_event_destroy(li);
|
||||
libinput_event_destroy(event);
|
||||
libinput_dispatch(li);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue