diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2024-01-18 10:04:26 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 9a579666068d62b9354a39941e1ac8c1f4a58093 (patch) | |
tree | 79d5d36f27b43f1d68969242211a0e01395c6bfc /sway/tree/output.c | |
parent | 0639bde9fb5637fbe63c65bfe85660745f159b96 (diff) |
scene_graph: Port ext_session_v1
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 12a2f969..64ca3d75 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c @@ -95,6 +95,7 @@ static void destroy_scene_layers(struct sway_output *output) { wlr_scene_node_destroy(&output->layers.tiling->node); wlr_scene_node_destroy(&output->layers.fullscreen->node); + wlr_scene_node_destroy(&output->layers.session_lock->node); } struct sway_output *output_create(struct wlr_output *wlr_output) { @@ -104,6 +105,7 @@ struct sway_output *output_create(struct wlr_output *wlr_output) { bool failed = false; output->layers.tiling = alloc_scene_tree(root->staging, &failed); output->layers.fullscreen = alloc_scene_tree(root->staging, &failed); + output->layers.session_lock = alloc_scene_tree(root->staging, &failed); if (!failed) { output->fullscreen_background = wlr_scene_rect_create( |