screencopy: Handle shm copy in commit event handler

This simplifies the implementation considerably.
This commit is contained in:
Andri Yngvason 2021-08-14 22:33:53 +00:00 committed by Simon Ser
parent 04d234bac1
commit 105fdecd0c
2 changed files with 36 additions and 77 deletions

View file

@ -52,7 +52,6 @@ struct wlr_screencopy_frame_v1 {
struct wl_listener buffer_destroy;
struct wlr_output *output;
struct wl_listener output_precommit;
struct wl_listener output_commit;
struct wl_listener output_destroy;
struct wl_listener output_enable;