Re: [PATCH v6] compositor: call configure on surfaces with a null buffer too

2013-02-27 Thread Kristian Høgsberg
On Thu, Feb 21, 2013 at 11:29:21AM +0100, Giulio Camuffo wrote: > This way the shell can know when a surface has been unmapped by > checking the value returned by weston_surface_is_mapped(surface). > The configure handlers have now width and height parameters, so > they do not need anymore to check

Re: [PATCH v6] compositor: call configure on surfaces with a null buffer too

2013-02-21 Thread Pekka Paalanen
On Thu, 21 Feb 2013 11:29:21 +0100 Giulio Camuffo wrote: > This way the shell can know when a surface has been unmapped by > checking the value returned by weston_surface_is_mapped(surface). > The configure handlers have now width and height parameters, so > they do not need anymore to check manu

[PATCH v6] compositor: call configure on surfaces with a null buffer too

2013-02-21 Thread Giulio Camuffo
This way the shell can know when a surface has been unmapped by checking the value returned by weston_surface_is_mapped(surface). The configure handlers have now width and height parameters, so they do not need anymore to check manually the buffer size. If a surface's buffer is NULL the width and h