[PATCH libXi] Don't use the protocol defines for 2.0 versioning.

Jeremy Huddleston jeremyhu at apple.com
Thu Aug 11 21:38:51 PDT 2011


Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

On Aug 11, 2011, at 9:25 PM, Peter Hutterer wrote:

> Otherwise we run into the old problem again: recompiling libXi against
> newer inputproto headers will appear to change the version support,
> potentially causing errors or other misbehaviours.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> src/XExtInt.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/XExtInt.c b/src/XExtInt.c
> index 32df6f9..86a780e 100644
> --- a/src/XExtInt.c
> +++ b/src/XExtInt.c
> @@ -270,7 +270,7 @@ static XExtensionVersion versions[] = { {XI_Absent, 0, 0},
>  XI_Add_DevicePresenceNotify_Minor},
> {XI_Present, XI_Add_DeviceProperties_Major,
>  XI_Add_DeviceProperties_Minor},
> -{XI_Present, XI_2_Major, XI_2_Minor}
> +{XI_Present, 2, 0}
> };
> 
> /***********************************************************************
> -- 
> 1.7.6
> 
> _______________________________________________
> xorg-devel at lists.x.org: 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



More information about the xorg-devel mailing list