backend/x11: ensure buffers are released on shutdown

This commit is contained in:
Simon Ser 2022-12-06 20:22:55 +01:00
parent 378f471d29
commit afe1ae4479
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 {