summaryrefslogtreecommitdiff
path: root/tools/libinput-debug-gui.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-10-06 15:04:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-10-06 16:12:17 +1000
commit7244e36b501b5c13bfed085cd57db5a3d2d0f5f3 (patch)
tree3b6a705d851fc9c4be1dce83695735d32d334f7d /tools/libinput-debug-gui.c
parentec939611fd2bda5bf379d79295a0c9b4282e3b23 (diff)
downloadlibinput-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-gui.c')
-rw-r--r--tools/libinput-debug-gui.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/libinput-debug-gui.c b/tools/libinput-debug-gui.c
index 3d7df1b2..70e41e16 100644
--- a/tools/libinput-debug-gui.c
+++ b/tools/libinput-debug-gui.c
@@ -1487,7 +1487,6 @@ handle_event_libinput(GIOChannel *source, GIOCondition condition, gpointer data)
}
libinput_event_destroy(ev);
- libinput_dispatch(li);
}
gtk_widget_queue_draw(w->area);