[PATCH xrandr] xrandr: dump configuration in parsable format

Stefan Tomanek stefan.tomanek at wertarbyte.de
Tue Dec 7 13:13:12 PST 2010


Dies schrieb Cyril Brulebois (kibi at debian.org):

> Stefan Tomanek <stefan.tomanek at wertarbyte.de> (08/11/2010):
> > -	    printf ("%s %s", output_info->name, connection[output_info->connection]);
> > +	    printf ( dump ? "output %s\n" : "%s %s", output_info->name, connection[output_info->connection]);
> 
> Looks like a missing "%s" in the first string?

No, this is actually done on purpose to mirror the command line
argument, e.g. "--output VGA0". We do not have to indicate whether the
display is actually connected.


More information about the xorg-devel mailing list