mirror of
https://github.com/swaywm/sway.git
synced 2025-01-22 00:36:40 +00:00
layer_shell: cleanup new_popup listener when destroying node
This commit is contained in:
parent
a6c0441ee0
commit
3629a832e5
|
@ -256,6 +256,7 @@ static void handle_node_destroy(struct wl_listener *listener, void *data) {
|
||||||
wl_list_remove(&layer->unmap.link);
|
wl_list_remove(&layer->unmap.link);
|
||||||
wl_list_remove(&layer->surface_commit.link);
|
wl_list_remove(&layer->surface_commit.link);
|
||||||
wl_list_remove(&layer->node_destroy.link);
|
wl_list_remove(&layer->node_destroy.link);
|
||||||
|
wl_list_remove(&layer->new_popup.link);
|
||||||
wl_list_remove(&layer->output_destroy.link);
|
wl_list_remove(&layer->output_destroy.link);
|
||||||
|
|
||||||
layer->layer_surface->data = NULL;
|
layer->layer_surface->data = NULL;
|
||||||
|
|
Loading…
Reference in a new issue