[PATCH xrandr v4 2/5] xrandr: stricter --scale argument parsing

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Tue Feb 6 20:57:33 UTC 2018


On Tue, Feb 6, 2018 at 8:03 PM, Keith Packard <keithp at keithp.com> wrote:
> Giuseppe Bilotta <giuseppe.bilotta at gmail.com> writes:
>> I'll add the positive check for both scale and gamma and respin the patch.
>
> Thanks.


Actually, it just occurred to me that a negative scaling factor could
be interpreted as a reflection in that direction (i.e. --scale -2x1
could be aliased to --scale 2x1 --reflect x). Or is it not worth it?

-- 
Giuseppe "Oblomov" Bilotta


More information about the xorg-devel mailing list