[PATCH xrandr] xrandr: dump configuration in parsable format

Stefan Tomanek stefan.tomanek at wertarbyte.de
Fri Oct 22 14:24:08 PDT 2010


Dies schrieb Jesse Adkins (jesserayadkins at gmail.com):

> > @@ -2989,7 +3007,7 @@ main (int argc, char **argv)
> >            if (crtc && crtc->panning_info && crtc->panning_info->width > 0)
> >            {
> >                XRRPanning *pan = crtc->panning_info;
> > -               printf (" panning %dx%d+%d+%d",
> > +               printf ( dump ? "panning %dx%d+%d+%d" : "panning %dx%d+%d+%d",
> 
> It looks like the strings on each side of ':' are the same. Is this a
> typo, or a mistake on my part?

I think there is a " " missing at the beginning of the second format string; apart from
that, they should be identical.

Thanks for your feedback :-) If that's the only glitch to be found...


More information about the xorg-devel mailing list