diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-04 14:38:56 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-05 09:43:42 +0100 |
commit | f0945e112f3f4e50021f55d59572526ff9fee847 (patch) | |
tree | 030fb7cb6dddc9484c4003045a3a3c067d13d04a /include/wlr | |
parent | 8c8164c4a6c926891c5d47f58ad4c3aa6eec8811 (diff) |
export-dmabuf: export DMA-BUF on output commit
We were previously exporting DMA-BUFs when receiving the capture_output
request, and sending a done event on wlr_output.events.precommit. Instead,
export and send done on wlr_output.events.commit.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_export_dmabuf_v1.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_export_dmabuf_v1.h b/include/wlr/types/wlr_export_dmabuf_v1.h index 817bb1a0..344e6cbf 100644 --- a/include/wlr/types/wlr_export_dmabuf_v1.h +++ b/include/wlr/types/wlr_export_dmabuf_v1.h @@ -29,12 +29,11 @@ struct wlr_export_dmabuf_frame_v1 { struct wlr_export_dmabuf_manager_v1 *manager; struct wl_list link; // wlr_export_dmabuf_manager_v1::frames - struct wlr_dmabuf_attributes attribs; struct wlr_output *output; bool cursor_locked; - struct wl_listener output_precommit; + struct wl_listener output_commit; }; struct wlr_export_dmabuf_manager_v1 *wlr_export_dmabuf_manager_v1_create( |