summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-11-24 15:18:47 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-11-24 15:18:47 +1000
commit5074b59241269c24babef34810ce8449845e547b (patch)
tree0ec4badc08582f295b67d80387f0bd51b03c76dc /tools
parent4677c48ab66c90cda2b66f57061401482f6d9f09 (diff)
parent09a296708aa291e0dd5ada2db14f288a3095b61e (diff)
Merge branch 'master' into tablet-support
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index ec4c43be..bb32f4b2 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -738,6 +738,9 @@ main(int argc, char **argv)
struct libinput *li;
struct timespec tp;
+ clock_gettime(CLOCK_MONOTONIC, &tp);
+ start_time = tp.tv_sec * 1000 + tp.tv_nsec / 1000000;
+
tools_init_context(&context);
if (tools_parse_args(argc, argv, &context))
@@ -747,9 +750,6 @@ main(int argc, char **argv)
if (!li)
return 1;
- clock_gettime(CLOCK_MONOTONIC, &tp);
- start_time = tp.tv_sec * 1000 + tp.tv_nsec / 1000000;
-
mainloop(li);
libinput_unref(li);