Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/window_surface.c:
wl_display_flush(process_wayland.wl_display);
done:
- if (flushed) reset_bounds(&wws->bounds);
- if (flushed)
- {
reset_bounds(&wws->bounds);
- }
- else
- {
if (shm_buffer)
{
shm_buffer->busy = FALSE;
wayland_shm_buffer_unref(shm_buffer);
}
- }
And here, keeping `if (flushed) reset_bounds(&wws->bounds);` and adding next `if (shm_buffer) wayland_shm_buffer_unref(shm_buffer);`