aboutsummaryrefslogtreecommitdiff
path: root/include/backend/wayland.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-08-18 12:04:39 +0200
committerSimon Ser <contact@emersion.fr>2023-02-20 18:38:57 +0100
commitcd17b18495953b88222fe0e770fbcdf5bde7bb5b (patch)
tree9e3c7850284007d6da13606513672810fd22d079 /include/backend/wayland.h
parent3e0ce761ad9b081690ee64e37807781b33a4289c (diff)
backend/wayland: implement output layers
Diffstat (limited to 'include/backend/wayland.h')
-rw-r--r--include/backend/wayland.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 5af8ed53..a1ed4414 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -47,6 +47,7 @@ struct wlr_wl_backend {
struct wlr_drm_format_set linux_dmabuf_v1_formats;
struct wl_drm *legacy_drm;
struct xdg_activation_v1 *activation_v1;
+ struct wl_subcompositor *subcompositor;
char *drm_render_name;
};
@@ -65,6 +66,13 @@ struct wlr_wl_presentation_feedback {
uint32_t commit_seq;
};
+struct wlr_wl_output_layer {
+ struct wlr_addon addon;
+
+ struct wl_surface *surface;
+ struct wl_subsurface *subsurface;
+};
+
struct wlr_wl_output {
struct wlr_output wlr_output;