Commit bc9026e0 authored by Peter Hutterer's avatar Peter Hutterer

Print touch event flags in test-xi2

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 90463ec2
......@@ -59,6 +59,15 @@ static void print_deviceevent(XIDeviceEvent* event)
case XI_Motion:
printf(" flags: %s\n", (event->flags & XIPointerEmulated) ? "emulated" : "");
break;
#endif
#if HAVE_XI22
case XI_TouchBegin:
case XI_TouchUpdate:
case XI_TouchEnd:
printf(" flags:%s%s\n",
(event->flags & XITouchPendingEnd) ? " pending_end" : "",
(event->flags & XITouchEmulatingPointer) ? " emulating" : "");
break;
#endif
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment