diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-09 11:38:38 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-13 08:10:36 -0400 |
commit | af69591e6233c83ed749b2f51922edb45bdaef2e (patch) | |
tree | 991d104756067368c2ac7e85a8a94844d8b5926b /example | |
parent | 1262f1400c6f443a1460e168c7adc25997247cde (diff) |
Add error handling and init in backend_autocreate
Diffstat (limited to 'example')
-rw-r--r-- | example/rotation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/rotation.c b/example/rotation.c index 25755f5f..12778f8e 100644 --- a/example/rotation.c +++ b/example/rotation.c @@ -219,6 +219,7 @@ int main(int argc, char *argv[]) { wl_signal_add(&wlr->events.output_remove, &state.output_remove); if (!wlr_backend_init(wlr)) { + printf("Failed to initialize backend, bailing out\n"); return 1; } |