[PATCH weston 1/8] compositor: do not release if re-attaching buffer

Pekka Paalanen ppaalanen at gmail.com
Wed Nov 28 02:08:02 PST 2012


On Fri, 23 Nov 2012 15:56:50 +0200
Pekka Paalanen <ppaalanen at gmail.com> wrote:

> If a client called wl_surface.attach with the same wl_buffer as
> previously, the compositor would mistakenly send a release on that
> buffer. This will cause problems only when clients start to properly use
> the wl_buffer.release event.
> 
> Do not send wl_buffer.release if the same buffer is attached again.
> 
> Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
> ---
>  src/compositor.c |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)

Hi Kristian,

I have this series rebased, and I'd like to incorporate your comments
before re-sending, if there's something to fix. You don't have to
rebase it yourself, even though the conflicts are quite simple.


Thanks,
pq


More information about the wayland-devel mailing list