From 2a1234a820393025063a36b750dfbbf240ba9bdd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 10 May 2023 16:31:48 +0200 Subject: 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 --- include/wlr/types/wlr_export_dmabuf_v1.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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( -- cgit v1.2.3