diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-13 09:59:14 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-13 10:19:57 -0400 |
commit | 43868168897f628fe75157be9ab38ea63310c920 (patch) | |
tree | 4abf844a207744843a95abfe07e5e1fe8b8bdc03 /examples/shared.c | |
parent | 43fb40e949c6b0a7492935d358695fdc6ad593a9 (diff) |
wlr_backend_init -> wlr_backend_start
Also renames create to init. We'll use create for anything that
allocates and init for anything that takes a pointer and initializes it.
Diffstat (limited to 'examples/shared.c')
-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); } |