aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-09-20 19:02:53 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-09-22 18:01:52 +0000
commit4885c08f38b9796b8de2f1f613402ffc82794dd3 (patch)
treeb0651f4d2363a88e06c63e0bbdb76e56e8df4e89 /include/wlr
parent2b767fe743515610ece53e7095d237dcee1d0144 (diff)
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.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_screencopy_v1.h4
1 files changed, 2 insertions, 2 deletions
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;