[PATCH] Xext: return BadValue for XTestFakeInput on unsupported capabilities.

Julien Cristau jcristau at debian.org
Fri Jul 3 03:32:03 PDT 2009


On Fri, Jul  3, 2009 at 13:41:05 +1000, Peter Hutterer wrote:

>              case XI_ProximityIn:
>              case XI_ProximityOut:
> +                if (!dev->proximity)
> +                {
> +                    client->errorValue = ev->u.u.type;
> +                    return BadValue;
> +                }
> +                break;
>                  break;

No need to add a second break here :)

Cheers,
Julien



More information about the xorg mailing list