aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-13 16:57:41 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-21 14:28:04 -0600
commit63d6de58669ea4ee6876e7e624fa3c3bd9e83a0a (patch)
tree398d7d10919c3156b3b6e1b53186bbee72a9aa2e
parent60a98b87f395618be8d35c1100e019588e255d78 (diff)
fix set of layersurface->popups and surface->data
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 949f7b3..3f2b261 100644
--- a/dwl.c
+++ b/dwl.c
@@ -804,7 +804,7 @@ createlayersurface(struct wl_listener *listener, void *data)
layers[wlr_layer_surface->pending.layer], wlr_layer_surface);
layersurface->scene = layersurface->scene_layer->tree;
layersurface->popups = wlr_layer_surface->surface->data =
- &wlr_scene_tree_create(layers[wlr_layer_surface->pending.layer])->node;
+ wlr_scene_tree_create(layers[wlr_layer_surface->pending.layer]);
layersurface->scene->node.data = layersurface;