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

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Wed May 17 16:30:44 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).

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(-)


More information about the xorg-devel mailing list