diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-28 19:06:41 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-28 19:06:41 -0400 |
commit | 033036712ade73a872f1034ddb47235be11a74aa (patch) | |
tree | ecae511da6a408177369858ac43d200bae427472 /examples/tablet.c | |
parent | 2850a9360b23eaf27f6437a889b13bdcbe506863 (diff) | |
parent | e4ad534ab41b01a08b6b4f19aa47805f6040f7b4 (diff) |
Merge branch 'rootston'
Diffstat (limited to 'examples/tablet.c')
-rw-r--r-- | examples/tablet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/tablet.c b/examples/tablet.c index 4aec5a72..4b565d3d 100644 --- a/examples/tablet.c +++ b/examples/tablet.c @@ -158,6 +158,11 @@ int main(int argc, char *argv[]) { wlr_log(L_ERROR, "Could not start compositor, OOM"); exit(EXIT_FAILURE); } + if (!wlr_backend_start(compositor.backend)) { + wlr_log(L_ERROR, "Failed to start backend"); + wlr_backend_destroy(compositor.backend); + exit(1); + } wl_display_run(compositor.display); wlr_renderer_destroy(state.renderer); |