From: Johan Malm Date: Thu, 8 Oct 2020 19:37:42 +0000 (+0100) Subject: output: add wl_list_remove()s X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=80947e56ee9532b48c0239e70abaa3e3051c6f14;p=proto%2Flabwc.git output: add wl_list_remove()s --- 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) {