summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-07-14 16:27:36 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-07-14 16:27:36 +1000
commitb6949c809c69d824fa5fdb2825f045ed716237d8 (patch)
treef8660256aa9257040a94b09805591ecc568fd15d
parent59fc7423bf0e8d29747074449e7a3484cafb2f42 (diff)
test_xi: Print deviceid for enter events too
-rw-r--r--src/test_xi2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test_xi2.c b/src/test_xi2.c
index 39f4f19..6466a17 100644
--- a/src/test_xi2.c
+++ b/src/test_xi2.c
@@ -152,6 +152,7 @@ static void print_enterleave(XILeaveEvent* event)
char *mode, *detail;
int i;
+ printf(" device: %d\n", event->deviceid);
printf(" windows: root 0x%lx event 0x%lx child 0x%ld\n",
event->root, event->event, event->child);
switch(event->mode)