Re: [PATCH 1/2] compositor: call configure on surfaces with a null buffer too

2013-02-20 Thread Pekka Paalanen
On Tue, 19 Feb 2013 22:22:46 +0100 Giulio Camuffo wrote: > This way the shell can know when a surface has been unmapped by > checking the value of pending.remove_content. The configure handlers > must now make sure that the buffer exist though, by checking if > the surface's buffer_ref.buffer is

[PATCH 1/2] compositor: call configure on surfaces with a null buffer too

2013-02-19 Thread Giulio Camuffo
This way the shell can know when a surface has been unmapped by checking the value of pending.remove_content. The configure handlers must now make sure that the buffer exist though, by checking if the surface's buffer_ref.buffer is NULL. --- src/compositor.c | 2 +- src/shell.c | 33

[PATCH 1/2] compositor: call configure on surfaces with a null buffer too

2013-02-19 Thread Giulio Camuffo
This way the shell can know when a surface has been unmapped by checking the value of pending.remove_content. The configure handlers must now make sure that the buffer exist though, by checking if the surface's buffer_ref.buffer is NULL. --- src/compositor.c | 2 +- src/shell.c | 19