aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-23 19:06:10 +0100
committeremersion <contact@emersion.fr>2018-06-30 22:18:04 +0100
commitdbb01cbcd01d191e406d99d2837c84a9d73d34a0 (patch)
treef834c0ba0adffbee5a353d2f38dcbd9e37ed0fa4 /include/wlr
parent9aaa9ba477f98f0eb827969f80bb845cfef2dd4b (diff)
screencopy: listen to buffer destroy
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_screencopy_v1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h
index 69f62437..892687aa 100644
--- a/include/wlr/types/wlr_screencopy_v1.h
+++ b/include/wlr/types/wlr_screencopy_v1.h
@@ -23,6 +23,7 @@ struct wlr_screencopy_frame_v1 {
int stride;
struct wl_shm_buffer *buffer;
+ struct wl_listener buffer_destroy;
struct wlr_output *output;
struct wl_listener output_swap_buffers;