From 80947e56ee9532b48c0239e70abaa3e3051c6f14 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Thu, 8 Oct 2020 20:37:42 +0100 Subject: [PATCH] output: add wl_list_remove()s --- src/output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output.c b/src/output.c index a355b675..f34f7ac5 100644 --- a/src/output.c +++ b/src/output.c @@ -348,9 +348,10 @@ output_destroy_notify(struct wl_listener *listener, void *data) { struct output *output = wl_container_of(listener, output, destroy); wl_list_remove(&output->link); + wl_list_remove(&output->frame.link); + wl_list_remove(&output->destroy.link); } - static void new_output_notify(struct wl_listener *listener, void *data) {