Re: [waffle] [PATCH 5/6] wflinfo: Distinguish between cmdline options and func options

2014-04-30 Thread Chad Versace
On Mon, Apr 28, 2014 at 11:45:41PM -0700, Jordan Justen wrote: > On Mon, Apr 28, 2014 at 8:43 PM, Chad Versace > > static bool > > -wflinfo_try_create_context(const struct options *opts, > > - struct waffle_display *dpy, > > +wflinfo_try_create_context(struct waffle_disp

Re: [waffle] [PATCH 5/6] wflinfo: Distinguish between cmdline options and func options

2014-04-28 Thread Jordan Justen
On Mon, Apr 28, 2014 at 8:43 PM, Chad Versace wrote: > 'struct options` is intended for cmdline options. But wflinfo repurposed > it to manage waffle_config attributes too by passing it into > wflinfo_create_context() and wflinfo_try_create_context(). > > Add a new type `struct wflinfo_config_attr

[waffle] [PATCH 5/6] wflinfo: Distinguish between cmdline options and func options

2014-04-28 Thread Chad Versace
'struct options` is intended for cmdline options. But wflinfo repurposed it to manage waffle_config attributes too by passing it into wflinfo_create_context() and wflinfo_try_create_context(). Add a new type `struct wflinfo_config_attrs`. Stop passing `struct option` to those functions and pass w