From 746d437b60662b6da62af8dbd38f594a896b1db5 Mon Sep 17 00:00:00 2001 From: Chase Douglas Date: Fri, 12 Nov 2010 17:35:15 -0500 Subject: [PATCH] Print XI2 device event child window in hex too This fixes an obvious error in the current print formatting. Signed-off-by: Chase Douglas Signed-off-by: Peter Hutterer --- src/test_xi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test_xi2.c b/src/test_xi2.c index c59ba26..fea36a8 100644 --- a/src/test_xi2.c +++ b/src/test_xi2.c @@ -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); } -- 2.56.0