aboutsummaryrefslogtreecommitdiff
path: root/backend/noop
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-29 00:07:31 +0200
committerKenny Levinsen <kl@kl.wtf>2021-05-21 22:13:54 +0200
commit7ec5bf6b10d2a7e1d9cdfdfeed44ac6db8bdcc99 (patch)
tree4bd0b074f7e87e3b5ef55dd2c79cafb65f2407e7 /backend/noop
parentbeae3018cbbbbb566e964de63cf04e405b7d8ba5 (diff)
backend: introduce wlr_backend_finish
This new functions cleans up the common backend state. While this currently only emits the destroy signal, this will also clean up the renderer and allocator in upcoming patches.
Diffstat (limited to 'backend/noop')
-rw-r--r--backend/noop/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/noop/backend.c b/backend/noop/backend.c
index 67744262..7bdda051 100644
--- a/backend/noop/backend.c
+++ b/backend/noop/backend.c
@@ -37,7 +37,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) {
wlr_output_destroy(&output->wlr_output);
}
- wlr_signal_emit_safe(&wlr_backend->events.destroy, backend);
+ wlr_backend_finish(wlr_backend);
wl_list_remove(&backend->display_destroy.link);