[PATCH 3/3] Xi: if XTEST device creation fails, fail the master devices.

Julien Cristau jcristau at debian.org
Mon Nov 8 03:33:34 PST 2010


On Mon, Nov  8, 2010 at 10:06:33 +1000, Peter Hutterer wrote:

> When getting close to the MAXDEVICES limit, the creation of XTEST devices
> may fail due to device id exhaustion. In that case, fail the creation of
> master devices too and return an error to the client.
> 
> Theoretically, we could alloc the MDs without the XTEST devices but that
> will get interesting when a client starts sending XTEST events through those
> devices.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  Xi/xichangehierarchy.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
Reviewed-by: Julien Cristau <jcristau at debian.org>

Cheers,
Julien


More information about the xorg-devel mailing list