[PATCH 2/5] Xi: fix reply swapping function check for XIPassiveGrabDevice

Jeremy Huddleston jeremyhu at apple.com
Thu Apr 14 20:33:39 PDT 2011


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

On Apr 14, 2011, at 8:20 PM, Peter Hutterer wrote:

> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> Xi/extinit.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Xi/extinit.c b/Xi/extinit.c
> index 0b7280d..51e0078 100644
> --- a/Xi/extinit.c
> +++ b/Xi/extinit.c
> @@ -511,7 +511,7 @@ SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
>         SRepXIQueryDevice(client, len, (xXIQueryDeviceReply*)rep);
>     else if (rep->RepType == X_XIGrabDevice)
> 	SRepXIGrabDevice(client, len, (xXIGrabDeviceReply *) rep);
> -    else if (rep->RepType == X_XIGrabDevice)
> +    else if (rep->RepType == X_XIPassiveGrabDevice)
> 	SRepXIPassiveGrabDevice(client, len, (xXIPassiveGrabDeviceReply *) rep);
>     else if (rep->RepType == X_XIListProperties)
> 	SRepXIListProperties(client, len, (xXIListPropertiesReply *) rep);
> -- 
> 1.7.4.2
> 
> _______________________________________________
> 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
> 



More information about the xorg-devel mailing list