]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/layers.c: remove new_popup handler on node destruction
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 30 Dec 2022 00:14:46 +0000 (01:14 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 3 Jan 2023 19:46:31 +0000 (19:46 +0000)
src/layers.c

index 7e27e0e59111af2fe5a9ef5bbea27b071448b0e9..54bda17ab3d172da59e6b73834978a2cf98c0377 100644 (file)
@@ -156,6 +156,7 @@ handle_node_destroy(struct wl_listener *listener, void *data)
        wl_list_remove(&layer->map.link);
        wl_list_remove(&layer->unmap.link);
        wl_list_remove(&layer->surface_commit.link);
+       wl_list_remove(&layer->new_popup.link);
        wl_list_remove(&layer->output_destroy.link);
        wl_list_remove(&layer->node_destroy.link);
        free(layer);