[PATCH libXi] fix build with gcc 2.95

Jeremy Huddleston jeremyhu at apple.com
Wed Aug 25 13:29:19 PDT 2010


Wow.  I didn't realize that 2.95.x was still in production use...

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

On Aug 25, 2010, at 13:21, Matthieu Herrb wrote:

>
> Signed-off-by: Matthieu Herrb <matthieu.herrb at laas.fr>
> ---
> src/XISelEv.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/XISelEv.c b/src/XISelEv.c
> index dad890e..f1f3fa4 100644
> --- a/src/XISelEv.c
> +++ b/src/XISelEv.c
> @@ -104,9 +104,9 @@ XIGetSelectedEvents(Display* dpy, Window win,  
> int *num_masks_return)
>     xXIEventMask *mask_in = NULL, *mi;
>     xXIGetSelectedEventsReq *req;
>     xXIGetSelectedEventsReply reply;
> +    XExtDisplayInfo *info = XInput_find_display(dpy);
>
>     *num_masks_return = -1;
> -    XExtDisplayInfo *info = XInput_find_display(dpy);
>     LockDisplay(dpy);
>     if (_XiCheckExtInit(dpy, Dont_Check, info) == -1)
>         goto out;
> -- 
> 1.7.0.5
>
>
> -- 
> Matthieu Herrb
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3333 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100825/df9f04c8/attachment.bin>


More information about the xorg-devel mailing list