aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index 7c94123a..816ff713 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -6,7 +6,10 @@
struct wlr_surface;
-// TODO: expose subcompositor
+struct wlr_subcompositor {
+ struct wl_global *wl_global;
+ struct wl_list wl_resources;
+};
struct wlr_compositor {
struct wl_global *wl_global;
@@ -14,6 +17,8 @@ struct wlr_compositor {
struct wlr_renderer *renderer;
struct wl_list surfaces;
+ struct wlr_subcompositor subcompositor;
+
struct wl_listener display_destroy;
struct {