aboutsummaryrefslogtreecommitdiff
path: root/examples/shared.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-09-24 14:12:56 -0400
committerDrew DeVault <sir@cmpwn.com>2017-09-24 14:12:56 -0400
commit61e451ea1b36435341d02ae34548bd0ea3abdd57 (patch)
tree6dc756c8024b2ec679b5d70087538504a4f2d5c5 /examples/shared.c
parentb84d59403fa8649817e84c486e701508f191c949 (diff)
Move keyboard logic to wlr_{keyboard,seat}
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 0346c96d..5814a20c 100644
--- a/examples/shared.c
+++ b/examples/shared.c
@@ -537,11 +537,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) {