On Tue Jul 4 19:02:24 2023 +0000, Rémi Bernon wrote:
What about `shm_buffer->busy = FALSE;` here?
In the latest version I have changed the design in the direction you propose, but going on step further, so that the whole "acquisition" (ref+busy) of the buffer is done by the consumer (`wayland_surface_attach_shm`). Among other things, this means that we don't need to perform any cleanup here.