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/libinput | |
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/libinput')
-rw-r--r-- | backend/libinput/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index a9150558..d57f129f 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -150,7 +150,7 @@ static void backend_destroy(struct wlr_backend *wlr_backend) { free(wlr_devices); } - wlr_signal_emit_safe(&wlr_backend->events.destroy, wlr_backend); + wlr_backend_finish(wlr_backend); wl_list_remove(&backend->display_destroy.link); wl_list_remove(&backend->session_destroy.link); |