mirror of
https://github.com/labwc/labwc.git
synced 2025-11-08 13:30:00 -05:00
Handle layers under the scene-graph API
This excludes popups.
This commit is contained in:
parent
9fed8e0998
commit
688abf7db1
5 changed files with 249 additions and 438 deletions
|
|
@ -185,6 +185,7 @@ struct output {
|
|||
struct wlr_output *wlr_output;
|
||||
struct wlr_scene_output *scene_output;
|
||||
struct wl_list layers[4];
|
||||
struct wlr_scene_tree *layer_tree[4];
|
||||
struct wlr_box usable_area;
|
||||
|
||||
struct lab_data_buffer *osd_buffer;
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ enum layer_parent {
|
|||
};
|
||||
|
||||
struct lab_layer_surface {
|
||||
struct wlr_layer_surface_v1 *layer_surface;
|
||||
struct wl_list link;
|
||||
struct wl_list link; /* output::layers[] */
|
||||
struct wlr_scene_layer_surface_v1 *scene_layer_surface;
|
||||
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener map;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue