[PATCH xrandr v5 0/6] xrandr: improve option parsing and documentation
Giuseppe Bilotta
giuseppe.bilotta at gmail.com
Tue Feb 27 11:20:16 UTC 2018
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.
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
More information about the xorg-devel
mailing list