aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-19 08:45:44 -0400
committerGitHub <noreply@github.com>2017-08-19 08:45:44 -0400
commitb876bea288bc4827a9de157eed481b823c081a4b (patch)
tree94fb650815691f98ab633c7731496f14ac751dc2 /examples/shared.c
parent3674085faede2960581461cf8f40c33ffce85e7c (diff)
parent84c0c87a5ddca24cb039f33eea38252681bb4636 (diff)
Merge pull request #114 from martinetd/cleanups
Cleanups
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);
}