layer_shell: cleanup new_popup listener when destroying node

This commit is contained in:
llyyr 2025-01-11 18:49:20 +05:30 committed by Alexander Orzechowski
parent a6c0441ee0
commit 3629a832e5

View file

@ -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->surface_commit.link);
wl_list_remove(&layer->node_destroy.link);
wl_list_remove(&layer->new_popup.link);
wl_list_remove(&layer->output_destroy.link);
layer->layer_surface->data = NULL;