diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-04-29 16:03:28 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-04-29 16:03:28 +1000 |
commit | 19751d021524ee7237704b6158947c26aad4e8c5 (patch) | |
tree | d2b8d7e295f8958bdfc44265aea3707233b30dc6 /src | |
parent | de293d5bb46de46aaa6799940824c31de95f905b (diff) |
test-xi2: Print out the sourceid for enter/leave events.
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 6fdc4ad..9ddb291 100644 --- a/src/test_xi2.c +++ b/src/test_xi2.c @@ -153,7 +153,7 @@ static void print_enterleave(XILeaveEvent* event) char *mode, *detail; int i; - printf(" device: %d\n", event->deviceid); + printf(" device: %d (%d)\n", event->deviceid, event->sourceid); printf(" windows: root 0x%lx event 0x%lx child 0x%ld\n", event->root, event->event, event->child); switch(event->mode) |