aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-28 18:00:40 +0100
committerGitHub <noreply@github.com>2017-12-28 18:00:40 +0100
commit0eb6bf66f45dc1066e505e9dc80a760da4265169 (patch)
tree5461c57c29bef5149d7da1be657223c577da0613 /backend
parentbb24895a2b1759ec78ae68bb91d13a98dc3cc9c7 (diff)
parent1478ef3202657ac274f6d9907f4dd5016e8715dd (diff)
Merge pull request #537 from Timidger/bugfix/remove-destroy-listener-on-multi-destroy
Remove display_destroy on multi-backend destroy
Diffstat (limited to 'backend')
-rw-r--r--backend/multi/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c
index 07e84c01..de6035f8 100644
--- a/backend/multi/backend.c
+++ b/backend/multi/backend.c
@@ -42,6 +42,7 @@ static void subbackend_state_destroy(struct subbackend_state *sub) {
static void multi_backend_destroy(struct wlr_backend *wlr_backend) {
struct wlr_multi_backend *backend = (struct wlr_multi_backend *)wlr_backend;
+ wl_list_remove(&backend->display_destroy.link);
struct subbackend_state *sub, *next;
wl_list_for_each_safe(sub, next, &backend->backends, link) {
wlr_backend_destroy(sub->backend);