mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
wlr_scene: Introduce wlr_scene_subsurface_tree.is_visible and event
This commit is contained in:
parent
327ae35307
commit
21a4df624f
2 changed files with 44 additions and 0 deletions
|
|
@ -134,10 +134,16 @@ struct wlr_scene_surface {
|
|||
struct wlr_scene_subsurface_tree_surface;
|
||||
struct wlr_scene_subsurface_tree {
|
||||
struct wlr_scene_tree *tree;
|
||||
bool is_visible;
|
||||
|
||||
struct {
|
||||
struct wl_signal visibility;
|
||||
} events;
|
||||
|
||||
// private state
|
||||
|
||||
struct wl_list surfaces;
|
||||
uint16_t visible_surfaces;
|
||||
struct wlr_scene_subsurface_tree_surface *root;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue