Hi Peter,
On Wed, Dec 9, 2009 at 14:06:36 +1000, Peter Hutterer wrote:
> + switch(extversion->minor_version)
> + {
> + case XI_Add_DeviceProperties_Minor:
> + nevents = XI_DevicePropertyNotify - 1;
> + break;
> + case XI_Add_DevicePresenceNotify_Minor:
> + nevents = XI_DevicePresenceNotify - 1;
> + break;
> + default:
> + nevents = XI_DeviceButtonstateNotify - 1;
> + break;
> + }
All these "- 1" should be "+ 1". The rest looks good to me.
Thanks,
Julien
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel