aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_linux_dmabuf_v1.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h
index 17e897c3..a2db7fea 100644
--- a/include/wlr/types/wlr_linux_dmabuf_v1.h
+++ b/include/wlr/types/wlr_linux_dmabuf_v1.h
@@ -11,11 +11,16 @@
#include <stdint.h>
#include <wayland-server-core.h>
+#include <wlr/types/wlr_buffer.h>
#include <wlr/render/dmabuf.h>
struct wlr_dmabuf_v1_buffer {
- struct wl_resource *resource;
+ struct wlr_buffer base;
+
+ struct wl_resource *resource; // can be NULL if the client destroyed it
struct wlr_dmabuf_attributes attributes;
+
+ struct wl_listener release;
};
/**