Commit b1ee7ad2 authored by Diego Rondini's avatar Diego Rondini

doc: fix libinput_event_destroy parameter

Fix libinput_event_destroy call by passing the correct parameter (event) in the
example code.
Signed-off-by: default avatarDiego Rondini <diego.rondini@kynetics.com>
parent 33e202b8
Pipeline #4496 passed with stages
in 6 minutes and 29 seconds
......@@ -96,7 +96,7 @@ int main(void) {
// handle the event here
libinput_event_destroy(li);
libinput_event_destroy(event);
libinput_dispatch(li);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment