diff options
author | emersion <contact@emersion.fr> | 2018-04-21 19:02:39 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-04-21 19:02:39 +0100 |
commit | bfcd3f3707e8bb628db7ea8ccb4a642a557f8f97 (patch) | |
tree | a93979abe24622c1a33a8174a983b270449adf8a /include | |
parent | fa84b267e0fdc3bcdd43dc2d06b55ffad03059a3 (diff) |
Add wlr_subcompositor
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 7 |
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 { |