aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shared.c')
-rw-r--r--examples/shared.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/examples/shared.c b/examples/shared.c
index 19cf83f0..3fa7cd05 100644
--- a/examples/shared.c
+++ b/examples/shared.c
@@ -538,11 +538,6 @@ void compositor_init(struct compositor_state *state) {
wlr_log(L_INFO, "Running compositor on wayland display '%s'", socket);
setenv("_WAYLAND_DISPLAY", socket, true);
- if (!wlr_backend_start(state->backend)) {
- wlr_log(L_ERROR, "Failed to start backend");
- wlr_backend_destroy(wlr);
- exit(1);
- }
}
void compositor_fini(struct compositor_state *state) {