aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
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/x11
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/x11')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 8999912d..17b8b7c0 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -191,7 +191,7 @@ static void backend_destroy(struct wlr_backend *backend) {
wlr_input_device_destroy(&x11->keyboard_dev);
- wlr_signal_emit_safe(&backend->events.destroy, backend);
+ wlr_backend_finish(backend);
if (x11->event_source) {
wl_event_source_remove(x11->event_source);