]> diplodocus.org Git - xorg-xinput/commitdiff
Print XI2 device event child window in hex too
authorChase Douglas <chase.douglas@ubuntu.com>
Fri, 12 Nov 2010 22:35:15 +0000 (17:35 -0500)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 17 Nov 2010 05:21:42 +0000 (15:21 +1000)
This fixes an obvious error in the current print formatting.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/test_xi2.c

index c59ba263e8296a353ea30aec37f59e5194374d0d..fea36a8c73a7457125c97ac1547141918b296eae 100644 (file)
@@ -72,7 +72,7 @@ static void print_deviceevent(XIDeviceEvent* event)
         if (XIMaskIsSet(event->valuators.mask, i))
             printf("        %i: %.2f\n", i, *val++);
 
-    printf("    windows: root 0x%lx event 0x%lx child 0x%ld\n",
+    printf("    windows: root 0x%lx event 0x%lx child 0x%lx\n",
             event->root, event->event, event->child);
 }