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

2012-11-28 Thread Pekka Paalanen
On Fri, 23 Nov 2012 15:56:50 +0200 Pekka Paalanen 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.

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

2012-11-23 Thread Pekka Paalanen
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 agai