Add wlr_subcompositor

This commit is contained in:
emersion 2018-04-21 19:02:39 +01:00
parent fa84b267e0
commit bfcd3f3707
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 103 additions and 76 deletions

View file

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