From 724b5e1b8d742a8429f4431ae1a55d7d26cb92ae Mon Sep 17 00:00:00 2001 From: Jason Francis Date: Sat, 27 Jul 2019 19:31:37 -0400 Subject: screencopy: send failed after output disconnect This prevents screencopy applications from hanging because a failed event never got sent when the output was disconnected or disabled after the call to buffer(). --- include/wlr/types/wlr_screencopy_v1.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h index a01e4dab..ab81f81a 100644 --- a/include/wlr/types/wlr_screencopy_v1.h +++ b/include/wlr/types/wlr_screencopy_v1.h @@ -43,6 +43,8 @@ struct wlr_screencopy_frame_v1 { struct wlr_output *output; struct wl_listener output_precommit; + struct wl_listener output_destroy; + struct wl_listener output_enable; void *data; }; -- cgit v1.2.3