From: Chase Douglas Date: Fri, 12 Nov 2010 22:35:15 +0000 (-0500) Subject: Print XI2 device event child window in hex too X-Git-Url: https://diplodocus.org/git/xorg-xinput/commitdiff_plain/746d437b60662b6da62af8dbd38f594a896b1db5?hp=13d9a0906acca18a268b8898addc1a192c5a2b12 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 --- 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); }