aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shared.c')
-rw-r--r--examples/shared.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/shared.c b/examples/shared.c
index 255652c7..f37140cf 100644
--- a/examples/shared.c
+++ b/examples/shared.c
@@ -674,8 +674,7 @@ void compositor_init(struct compositor_state *state) {
}
}
-void compositor_run(struct compositor_state *state) {
- wl_display_run(state->display);
+void compositor_fini(struct compositor_state *state) {
wlr_backend_destroy(state->backend);
wl_display_destroy(state->display);
}