diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2020-10-06 15:04:08 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2020-10-06 16:12:17 +1000 |
commit | 7244e36b501b5c13bfed085cd57db5a3d2d0f5f3 (patch) | |
tree | 3b6a705d851fc9c4be1dce83695735d32d334f7d /tools/libinput-debug-events.c | |
parent | ec939611fd2bda5bf379d79295a0c9b4282e3b23 (diff) | |
download | libinput-7244e36b501b5c13bfed085cd57db5a3d2d0f5f3.tar.gz |
tools: only call libinput_dispatch() once per poll
This is a closer approximation of all callers anyway, and it makes it easier
to debug which events are handled per libinput_dispatch() call.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/libinput-debug-events.c')
-rw-r--r-- | tools/libinput-debug-events.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c index 2921630f..433bfc87 100644 --- a/tools/libinput-debug-events.c +++ b/tools/libinput-debug-events.c @@ -917,7 +917,6 @@ handle_and_print_events(struct libinput *li) } libinput_event_destroy(ev); - libinput_dispatch(li); rc = 0; } return rc; |