aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_screencopy_v1.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h
index 76f49e03..b778dd41 100644
--- a/include/wlr/types/wlr_screencopy_v1.h
+++ b/include/wlr/types/wlr_screencopy_v1.h
@@ -38,6 +38,7 @@ struct wlr_screencopy_frame_v1 {
struct wl_list link;
enum wl_shm_format format;
+ uint32_t fourcc;
struct wlr_box box;
int stride;
@@ -45,7 +46,9 @@ struct wlr_screencopy_frame_v1 {
bool with_damage;
- struct wl_shm_buffer *buffer;
+ struct wl_shm_buffer *shm_buffer;
+ struct wlr_dmabuf_v1_buffer *dma_buffer;
+
struct wl_listener buffer_destroy;
struct wlr_output *output;