Re: [PATCH weston v4] refactor x11-backend configuration API

2016-03-28 Thread Giulio Camuffo
Sorry, i hit send by mistake before i was finished... 2016-03-28 11:45 GMT+03:00 Giulio Camuffo : > 2016-03-21 23:58 GMT+02:00 Benoit Gschwind : >> Use a "well" defined structure to configure x11-backend and move >> configuration >> file parsing inside the weston compositor code. >> >> v4: add st

Re: [PATCH weston v4] refactor x11-backend configuration API

2016-03-28 Thread Giulio Camuffo
2016-03-21 23:58 GMT+02:00 Benoit Gschwind : > Use a "well" defined structure to configure x11-backend and move configuration > file parsing inside the weston compositor code. > > v4: add struct_version, and check for null pointer of the configuration > structure. > v3: properly check memory error

Re: [PATCH weston v4] refactor x11-backend configuration API

2016-03-21 Thread Jan Engelhardt
On Monday 2016-03-21 22:58, Benoit Gschwind wrote: > struct x11_output { >@@ -130,6 +127,11 @@ struct window_delete_data { > > struct gl_renderer_interface *gl_renderer; > >+static void >+weston_x11_backend_config_init_default(struct weston_x11_backend_config * >ths) { >+ bzero(ths, sizeof

[PATCH weston v4] refactor x11-backend configuration API

2016-03-21 Thread Benoit Gschwind
Use a "well" defined structure to configure x11-backend and move configuration file parsing inside the weston compositor code. v4: add struct_version, and check for null pointer of the configuration structure. v3: properly check memory error for the memory allocation of the outputs array. v2: add