aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-06 20:22:55 +0100
committerSimon Ser <contact@emersion.fr>2022-12-06 20:22:55 +0100
commitafe1ae4479a680cebfc5b12d9b5dbafefbd73395 (patch)
tree5bdc0e29f471aa349cc5f8a05ed94094ce9a8554 /include/backend
parent378f471d292ead8e5286d517a811c8726aa07959 (diff)
backend/x11: ensure buffers are released on shutdown
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/x11.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
index e362d5b3..9c0c1a4d 100644
--- a/include/backend/x11.h
+++ b/include/backend/x11.h
@@ -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 {