[PATCH xrandr] xrandr: dump configuration in parsable format

2012-02-13 Thread Stefan Tomanek
This patch adds the command line switch "--dump" to the xrandr program. When specified, xrandr outputs the current display configuration in an easily parsable format similar to the command line options accepted by xrandr itself. That way, an existing configuration can easily be saved and restored l

[PATCH xrandr] xrandr: dump configuration in parsable format

2011-03-09 Thread Stefan Tomanek
This patch adds the command line switch "--dump" to the xrandr program. When specified, xrandr outputs the current display configuration in an easily parsable format similar to the command line options accepted by xrandr itself. That way, an existing configuration can easily be saved and restored l

Re: [PATCH xrandr] xrandr: dump configuration in parsable format

2010-12-08 Thread Keith Packard
On Tue, 7 Dec 2010 22:13:12 +0100, Stefan Tomanek wrote: > Dies schrieb Cyril Brulebois (k...@debian.org): > > > Stefan Tomanek (08/11/2010): > > > - printf ("%s %s", output_info->name, > > > connection[output_info->connection]); > > > + printf ( dump ? "output %s\n" : "%s %s", output_

Re: [PATCH xrandr] xrandr: dump configuration in parsable format

2010-12-07 Thread Stefan Tomanek
Dies schrieb Cyril Brulebois (k...@debian.org): > Stefan Tomanek (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 l

Re: [PATCH xrandr] xrandr: dump configuration in parsable format

2010-12-07 Thread Cyril Brulebois
Hi Stefan. Stefan Tomanek (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? Mraw,

[PATCH xrandr] xrandr: dump configuration in parsable format

2010-11-09 Thread Stefan Tomanek
This patch adds the command line switch "--dump" to the xrandr program. When specified, xrandr outputs the current display configuration in an easily parsable format similar to the command line options accepted by xrandr itself. That way, an existing configuration can easily be saved and restored l

[PATCH xrandr] xrandr: dump configuration in parsable format

2010-11-04 Thread Stefan Tomanek
This patch adds the command line switch "--dump" to the xrandr program. When specified, xrandr outputs the current display configuration in an easily parsable format similar to the command line options accepted by xrandr itself. That way, an existing configuration can easily be saved and restored l

Re: [PATCH xrandr] xrandr: dump configuration in parsable format

2010-10-23 Thread Stefan Tomanek
Dies schrieb Jesse Adkins (jesserayadk...@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 (" panni

Re: [PATCH xrandr] xrandr: dump configuration in parsable format

2010-10-22 Thread Jesse Adkins
> @@ -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

[PATCH xrandr] xrandr: dump configuration in parsable format

2010-10-20 Thread Stefan Tomanek
This patch adds the command line switch "--dump" to the xrandr program. When specified, xrandr outputs the current display configuration in an easily parsable format similar to the command line options accepted by xrandr itself. That way, an existing configuration can easily be saved and restored l