diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 14:18:03 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-07 14:19:09 -0600 |
commit | 393078d80c330be0313ac84c9de2de132f785d6d (patch) | |
tree | 27de50c1e6036ebbfe587030b8ae71965708d0b8 | |
parent | 28ec843aee3d339ef0b5b95685cdd7c2bcacdb16 (diff) |
store the layersurface pointer in l->popups->node.data as well
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |