[PATCH 2/2] xinput: add set-prop command

Simon Thum simon.thum at gmx.de
Thu Apr 16 12:12:56 PDT 2009


Julien Cristau wrote:
> +        } else if (type == float_atom) {
> +            data.f[i] = strtod(argv[2 + i], &endptr);
> +            if (endptr == argv[2 + i]) {
> +                fprintf(stderr, "argument %s could not be parsed\n", argv[2 + i]);
> +                return EXIT_FAILURE;
> +            }
Ack in general, but Peter just made a patch to ensure floats use long 
alignment (a libX11 convention, AFAICT). This should be made consistent.

Cheers,

Simon


More information about the xorg-devel mailing list