[PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Scott Moreau
This patch provides a way to define outputs for the x11 backend. It parses [output] sections and checks for 'name' and 'mode' keys. The 'name' must start with an 'X' to distinguish from drm output names. Command line options --width and --height supersede what is in the config file. When --output-c

Re: [PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Bill Spitzak
Kristian Høgsberg wrote: I think we should just do mode=600x400 Since there is code to parse this text, why not reuse it for the command-line switch? That would allow it to look more like --geometry (maybe even call it that). Ie instead of "--width 100 --height 200" the switch wou

Re: [PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Scott Moreau
On Fri, Aug 3, 2012 at 2:42 AM, Pekka Paalanen wrote: > On Thu, 2 Aug 2012 20:42:17 -0600 > Scott Moreau wrote: > > > This patch provides a way to define outputs for the x11 backend. It > > parses [output] sections and checks for 'name', 'width' and 'height' > > keys. The 'name' key must start

Re: [PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Scott Moreau
On Fri, Aug 3, 2012 at 11:10 AM, Kristian Høgsberg wrote: > On Thu, Aug 02, 2012 at 08:42:17PM -0600, Scott Moreau wrote: > > This patch provides a way to define outputs for the x11 backend. It > > parses [output] sections and checks for 'name', 'width' and 'height' > > keys. The 'name' key must s

Re: [PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Kristian Høgsberg
On Thu, Aug 02, 2012 at 08:42:17PM -0600, Scott Moreau wrote: > This patch provides a way to define outputs for the x11 backend. It > parses [output] sections and checks for 'name', 'width' and 'height' > keys. The 'name' key must start with an 'X' to distinguish between > drm output names. Command

Re: [PATCH] compositor-x11: Allow output configuration from config file.

2012-08-03 Thread Pekka Paalanen
On Thu, 2 Aug 2012 20:42:17 -0600 Scott Moreau wrote: > This patch provides a way to define outputs for the x11 backend. It > parses [output] sections and checks for 'name', 'width' and 'height' > keys. The 'name' key must start with an 'X' to distinguish between > drm output names. Command line

[PATCH] compositor-x11: Allow output configuration from config file.

2012-08-02 Thread Scott Moreau
This patch provides a way to define outputs for the x11 backend. It parses [output] sections and checks for 'name', 'width' and 'height' keys. The 'name' key must start with an 'X' to distinguish between drm output names. Command line options --width and --height supersede what is in the config fil