fix set of layersurface->popups and surface->data
This commit is contained in:
parent
60a98b87f3
commit
63d6de5866
2
dwl.c
2
dwl.c
@ -804,7 +804,7 @@ createlayersurface(struct wl_listener *listener, void *data)
|
|||||||
layers[wlr_layer_surface->pending.layer], wlr_layer_surface);
|
layers[wlr_layer_surface->pending.layer], wlr_layer_surface);
|
||||||
layersurface->scene = layersurface->scene_layer->tree;
|
layersurface->scene = layersurface->scene_layer->tree;
|
||||||
layersurface->popups = wlr_layer_surface->surface->data =
|
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;
|
layersurface->scene->node.data = layersurface;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user