From 4885c08f38b9796b8de2f1f613402ffc82794dd3 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 20 Sep 2022 19:02:53 +0200 Subject: screencopy-v1: rename wlr_screencopy_frame_v1.{format,fourcc} Make it clear that one is for shm buffers only, and the other is for DMA-BUF buffers only. --- include/wlr/types/wlr_screencopy_v1.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h index 50e398e7..87985cb1 100644 --- a/include/wlr/types/wlr_screencopy_v1.h +++ b/include/wlr/types/wlr_screencopy_v1.h @@ -37,8 +37,8 @@ struct wlr_screencopy_frame_v1 { struct wlr_screencopy_v1_client *client; struct wl_list link; // wlr_screencopy_manager_v1.frames - enum wl_shm_format format; - uint32_t fourcc; + enum wl_shm_format shm_format; + uint32_t dmabuf_format; struct wlr_box box; int stride; -- cgit v1.2.3