backend/x11: ensure buffers are released on shutdown

(cherry picked from commit afe1ae4479)
This commit is contained in:
Simon Ser 2022-12-06 20:22:55 +01:00
parent 14b58a5b3a
commit cdd510a65c
2 changed files with 7 additions and 0 deletions

View file

@ -113,6 +113,7 @@ struct wlr_x11_buffer {
xcb_pixmap_t pixmap;
struct wl_list link; // wlr_x11_output::buffers
struct wl_listener buffer_destroy;
size_t n_busy;
};
struct wlr_x11_format {