#ifndef CG_LAYER_SHELL_V1_H #define CG_LAYER_SHELL_V1_H #include #include #include void handle_layer_shell_v1_surface_new(struct wl_listener *listener, void *data); struct cg_layer_surface { struct cg_server *server; struct wl_list link; // cg_output::layers struct wl_listener map; struct wl_listener unmap; struct wl_listener surface_commit; // struct wl_listener destroy; struct wl_listener output_destroy; struct cg_output *output; struct wlr_scene_tree *tree; struct wlr_scene_layer_surface_v1 *scene; struct wlr_layer_surface_v1 *layer_surface; }; #endif