summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multitouch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/multitouch.c b/multitouch.c
index f0a7c77..3ba0b3c 100644
--- a/multitouch.c
+++ b/multitouch.c
@@ -186,7 +186,7 @@ static void print_event(struct multitouch *mt, XIDeviceEvent* event)
case XI_TouchEnd: type = "TouchEnd"; break;
}
msg("Event: %s (%d)\n", type, event->deviceid);
- msg("\t%.2f/%.2f\n", event->root_x, event->root_y);
+ msg("\t%.2f/%.2f (%.2f/%.2f)\n", event->event_x, event->event_y, event->root_x, event->root_y);
msg("\ttouchid: %d\n", event->detail);
}