From dbb01cbcd01d191e406d99d2837c84a9d73d34a0 Mon Sep 17 00:00:00 2001
From: emersion <contact@emersion.fr>
Date: Sat, 23 Jun 2018 19:06:10 +0100
Subject: screencopy: listen to buffer destroy

---
 include/wlr/types/wlr_screencopy_v1.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'include/wlr')

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;
-- 
cgit v1.2.3