diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shared.c b/examples/shared.c index 0738a548..b2818578 100644 --- a/examples/shared.c +++ b/examples/shared.c @@ -512,8 +512,8 @@ 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_init(state->backend)) { - wlr_log(L_ERROR, "Failed to initialize backend"); + if (!wlr_backend_start(state->backend)) { + wlr_log(L_ERROR, "Failed to start backend"); wlr_backend_destroy(wlr); exit(1); } |