aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_screencopy_v1.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h
index c74b8ecc..cec6100d 100644
--- a/include/wlr/types/wlr_screencopy_v1.h
+++ b/include/wlr/types/wlr_screencopy_v1.h
@@ -45,10 +45,8 @@ struct wlr_screencopy_frame_v1 {
bool with_damage;
- struct wl_shm_buffer *shm_buffer;
- struct wlr_dmabuf_v1_buffer *dma_buffer;
-
- struct wl_listener buffer_destroy;
+ enum wlr_buffer_cap buffer_cap;
+ struct wlr_buffer *buffer;
struct wlr_output *output;
struct wl_listener output_commit;