aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-05-10 16:31:48 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-05-10 20:45:48 +0000
commit2a1234a820393025063a36b750dfbbf240ba9bdd (patch)
tree23128d6fbcbbb6183cb07242b8831cea5920b4b1 /include/wlr
parent095a63a11cb2f2624b7bf5977bc4ecba541037f8 (diff)
wlr-export-dmabuf-v1: handle output destroy
We were storing a wlr_output without listening for the destroy event. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3646
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_export_dmabuf_v1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_export_dmabuf_v1.h b/include/wlr/types/wlr_export_dmabuf_v1.h
index 39e83be7..ba2d8bd8 100644
--- a/include/wlr/types/wlr_export_dmabuf_v1.h
+++ b/include/wlr/types/wlr_export_dmabuf_v1.h
@@ -34,6 +34,7 @@ struct wlr_export_dmabuf_frame_v1 {
bool cursor_locked;
struct wl_listener output_commit;
+ struct wl_listener output_destroy;
};
struct wlr_export_dmabuf_manager_v1 *wlr_export_dmabuf_manager_v1_create(