diff options
author | Chase Douglas <chase.douglas@ubuntu.com> | 2010-11-12 17:35:15 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-11-17 15:21:42 +1000 |
commit | 746d437b60662b6da62af8dbd38f594a896b1db5 (patch) | |
tree | f8fc13c39116ac84e35ce5f4744122fc6fc5c138 /src | |
parent | 13d9a0906acca18a268b8898addc1a192c5a2b12 (diff) |
Print XI2 device event child window in hex too
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/test_xi2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |