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 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel