[PATCH xrandr v2 0/2] xrandr: improve --scale option parsing

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Thu Jun 22 22:39:09 UTC 2017


A couple of trivial patches. The first one allows the specification
of a single scaling value (--scale 2 for --scale 2x2), the second
makes parsing stricter by refusing the value if there is junk after
an assumingly valid scaling factor (2x3a or 4j).

v2: rebased on current head.

Giuseppe Bilotta (2):
  xrandr: allow a single value for --scale
  xrandr: stricter --scale argument parsing

 man/xrandr.man |  7 ++++---
 xrandr.c       | 11 ++++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.13.0.rc0.207.gb442654931



More information about the xorg-devel mailing list