mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Add error handling and init in backend_autocreate
This commit is contained in:
parent
1262f1400c
commit
af69591e62
5 changed files with 26 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue