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.
This commit is contained in:
Simon Ser 2022-09-20 19:02:53 +02:00 committed by Simon Zeni
parent 2b767fe743
commit 4885c08f38
2 changed files with 11 additions and 11 deletions

View file

@ -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;