wl_surface::attach(NULL) release previous buffer?

2023-09-14 Thread John Cox
Hi A, hopefully, simple question - should I expect a wl_buffer::release event from the buffer previously committed to a surface after I've attached (and invalidated & committed) a NULL buffer to the surface? it doesn't seem to happen for me (I have WAYLAND_DEBUG=1 logs showing it not happening).

Re: Questions about object ID lifetimes

2023-09-14 Thread Pekka Paalanen
On Wed, 13 Sep 2023 20:16:09 -0400 jleivent wrote: > Forgive the long post. Tl;dr: what are the rules of object ID lifetime > and reuse in the Wayland protocol? Hi, congratulations, I think you may have found everything that is not quite right in the fundamental Wayland protocol design. :-) A

Re: Questions about object ID lifetimes

2023-09-14 Thread jleivent
On Thu, 14 Sep 2023 16:32:06 +0300 Pekka Paalanen wrote: > ... > > congratulations, I think you may have found everything that is not > quite right in the fundamental Wayland protocol design. :-) Oh, you flatter me. I'm sure there's more! > > As an aside, we collect unfixable issues under >