Reviewed-by: Jeremy Huddleston <[email protected]> On Aug 23, 2011, at 14:51, Peter Hutterer wrote:
> This flag is part of the future (currently unreleased) XI 2.1 protocol. > Introduced in 2c5187d0099e6c7588828ba9931d27f5c64bbaec > > Reported-by: Chris Ball <[email protected]> > Signed-off-by: Peter Hutterer <[email protected]> > --- > src/test_xi2.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/test_xi2.c b/src/test_xi2.c > index 92c88da..a2cd5d6 100644 > --- a/src/test_xi2.c > +++ b/src/test_xi2.c > @@ -53,11 +53,13 @@ static void print_deviceevent(XIDeviceEvent* event) > case XI_KeyRelease: > printf(" flags: %s\n", (event->flags & XIKeyRepeat) ? > "repeat" : ""); > break; > +#ifdef XIPointerEmulated > case XI_ButtonPress: > case XI_ButtonRelease: > case XI_Motion: > printf(" flags: %s\n", (event->flags & XIPointerEmulated) ? > "emulated" : ""); > break; > +#endif > } > > printf(" root: %.2f/%.2f\n", event->root_x, event->root_y); > -- > 1.7.6 > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel > --- Jeremy Huddleston Rebuild Sudan - Board of Directors - http://www.rebuildsudan.org Berkeley Foundation for Opportunities in Information Technology - Advisory Board - http://www.bfoit.org _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
