summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-07 14:18:03 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-12-07 14:19:09 -0600
commit393078d80c330be0313ac84c9de2de132f785d6d (patch)
tree27de50c1e6036ebbfe587030b8ae71965708d0b8
parent28ec843aee3d339ef0b5b95685cdd7c2bcacdb16 (diff)
store the layersurface pointer in l->popups->node.data as well
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index e9b7d84..edba265 100644
--- a/dwl.c
+++ b/dwl.c
@@ -816,7 +816,7 @@ createlayersurface(struct wl_listener *listener, void *data)
l->scene = l->scene_layer->tree;
l->popups = surface->data = wlr_scene_tree_create(layer_surface->current.layer
< ZWLR_LAYER_SHELL_V1_LAYER_TOP ? layers[LyrTop] : scene_layer);
- l->scene->node.data = l;
+ l->scene->node.data = l->popups->node.data = l;
wl_list_insert(&l->mon->layers[layer_surface->pending.layer],&l->link);