[PATCH xinput] Print an error if mode is neither ABSOLUTE nor RELATIVE.

Peter Hutterer peter.hutterer at who-t.net
Mon Oct 11 18:02:06 PDT 2010


On Mon, Oct 11, 2010 at 10:06:45AM +0200, Julien Cristau wrote:
> On Mon, Oct 11, 2010 at 13:49:12 +1000, Peter Hutterer wrote:
> 
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> 
> Reviewed-by: Julien Cristau <jcristau at debian.org>

thanks!

> > ---
> > guess what: "Absolute", "absolute", "abs" and 1 all counted as relative. Oh
> > how we laughed.
> > 
> Using strcasecmp might already be an improvement?

yeah, but then I have to work around strcasecmp missing on some platforms,
which requires autotools. and I prefer to leave that up to Gaetan ;)

Cheers,
  Peter


More information about the xorg-devel mailing list