diff options
author | Jason Francis <cycl0ps@tuta.io> | 2019-07-27 19:31:37 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-08-01 19:00:48 +0300 |
commit | 724b5e1b8d742a8429f4431ae1a55d7d26cb92ae (patch) | |
tree | 14212da859f218f409c6cd164a9a355212438cff /include/wlr | |
parent | ce3e413e83ac61880b54d032c7c6408b807ed690 (diff) |
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().
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_screencopy_v1.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; }; |