Re: [PATCH weston] compositor-wayland: Only destroy the egl_window when using GLES.

2016-09-02 Thread Quentin Glidic
On 02/09/2016 22:10, Derek Foreman wrote: On 01/09/16 09:19 AM, Emmanuel Gil Peyrot wrote: This prevents a segfault when unplugging an output when using pixman. Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Derek Foreman Really obvious segfault fix ;-) Pushed: 1714f01..85571a3 master -

Re: [PATCH weston] compositor-wayland: Only destroy the egl_window when using GLES.

2016-09-02 Thread Derek Foreman
On 01/09/16 09:19 AM, Emmanuel Gil Peyrot wrote: > This prevents a segfault when unplugging an output when using pixman. > > Signed-off-by: Emmanuel Gil Peyrot Reviewed-by: Derek Foreman > --- > libweston/compositor-wayland.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: [PATCH weston 1/2] input: Update keyboard serial on press and release

2016-09-02 Thread Giulio Camuffo
2016-09-02 10:27 GMT+02:00 Olivier Fourdan : > Hi, > > - Original Message - >> 2016-09-01 11:52 GMT+02:00 Olivier Fourdan : >> > Hi >> > >> >> > + keyboard->grab_serial = >> >> > wl_display_get_serial(compositor->wl_display); >> >> > if (state == WL_KEYBOARD_KEY_STATE_PRESSED) { >> >>

Re: [PATCH weston 1/2] input: Update keyboard serial on press and release

2016-09-02 Thread Olivier Fourdan
Hi, - Original Message - > 2016-09-01 11:52 GMT+02:00 Olivier Fourdan : > > Hi > > > >> > + keyboard->grab_serial = > >> > wl_display_get_serial(compositor->wl_display); > >> > if (state == WL_KEYBOARD_KEY_STATE_PRESSED) { > >> > - keyboard->grab_serial = > >> > -

Re: [PATCH weston] gl-renderer: Add a #define to obtain the prototypes from the gl2 header.

2016-09-02 Thread Pekka Paalanen
On Thu, 1 Sep 2016 15:32:08 +0100 Emil Velikov wrote: > On 1 September 2016 at 15:12, Emmanuel Gil Peyrot > wrote: > > This prevents a segfault when running on Mesa master, due to the GLES2 > > symbols not being declared with the correct prototype (or at all). > > > > Signed-off-by: Emmanuel Gil

Re: [PATCH weston 1/2] input: Update keyboard serial on press and release

2016-09-02 Thread Giulio Camuffo
2016-09-01 11:52 GMT+02:00 Olivier Fourdan : > Hi > >> > + keyboard->grab_serial = wl_display_get_serial(compositor->wl_display); >> > if (state == WL_KEYBOARD_KEY_STATE_PRESSED) { >> > - keyboard->grab_serial = >> > - wl_display_get_serial(compositor->wl_display);