mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 11:16:30 +00:00
store the layersurface pointer in l->popups->node.data as well
This commit is contained in:
parent
28ec843aee
commit
393078d80c
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
@ -816,7 +816,7 @@ createlayersurface(struct wl_listener *listener, void *data)
|
||||||
l->scene = l->scene_layer->tree;
|
l->scene = l->scene_layer->tree;
|
||||||
l->popups = surface->data = wlr_scene_tree_create(layer_surface->current.layer
|
l->popups = surface->data = wlr_scene_tree_create(layer_surface->current.layer
|
||||||
< ZWLR_LAYER_SHELL_V1_LAYER_TOP ? layers[LyrTop] : scene_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);
|
wl_list_insert(&l->mon->layers[layer_surface->pending.layer],&l->link);
|
||||||
|
|
Loading…
Reference in a new issue