diff options
author | Simon Ser <contact@emersion.fr> | 2021-04-29 00:07:31 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-05-21 22:13:54 +0200 |
commit | 7ec5bf6b10d2a7e1d9cdfdfeed44ac6db8bdcc99 (patch) | |
tree | 4bd0b074f7e87e3b5ef55dd2c79cafb65f2407e7 /backend/drm | |
parent | beae3018cbbbbb566e964de63cf04e405b7d8ba5 (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/drm')
-rw-r--r-- | backend/drm/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 17387423..2caf76bd 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -41,7 +41,7 @@ static void backend_destroy(struct wlr_backend *backend) { destroy_drm_connector(conn); } - wlr_signal_emit_safe(&backend->events.destroy, backend); + wlr_backend_finish(backend); struct wlr_drm_fb *fb, *fb_tmp; wl_list_for_each_safe(fb, fb_tmp, &drm->fbs, link) { |