[PATCH xrandr v5 0/6] xrandr: improve option parsing and documentation

Alex Deucher alexdeucher at gmail.com
Tue Feb 27 19:24:36 UTC 2018


On Tue, Feb 27, 2018 at 6:20 AM, Giuseppe Bilotta
<giuseppe.bilotta at gmail.com> wrote:
> Miscellaneous patches to improve option parsing and documentation for
> xrandr.
>
> Allow single values to be given to --scale and --gamma, rejecting the
> option if valid values are followed by extra junk (e.g. 2x3a isn't
> accepted as a valid value for --scale), or if they are not positive.
>
> Minor improvements to the documentation are also introduced, the largest
> of which is the documentation of the xrandr monitor options.
>
> v2: rebased on current head.
> v3: fix code indentation, add grammar fix patch
> v4: single value accepted for --gamma too, monitor options documented
> v5: additional patch to check for positive values
>
> The patchset is also available from:
>
>   git://git.oblomov.eu/xorg/xrandr parse-doc-fixes
>
> up to c9755465412cbcf533d3c512397773949a26e55f.

For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

>
>
> Giuseppe Bilotta (6):
>   xrandr: allow a single value for --scale
>   xrandr: stricter --scale argument parsing
>   xrandr.man: grammar tuning
>   xrandr: allow single value for --gamma
>   xrandr.man: document the monitor manipulation options
>   xrandr: gamma and scaling factors must be positive
>
>  man/xrandr.man | 46 +++++++++++++++++++++++++++++++++++++---------
>  xrandr.c       | 31 ++++++++++++++++++++++++-------
>  2 files changed, 61 insertions(+), 16 deletions(-)
>
> --
> 2.14.1.439.g647b9b4702
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list