Update to new WLC API

This commit is contained in:
Drew DeVault 2016-03-24 14:08:53 -04:00
parent 686530d5e8
commit 5c85c018b4
3 changed files with 23 additions and 37 deletions

View file

@ -187,7 +187,8 @@ int main(int argc, char **argv) {
/* Changing code earlier than this point requires detailed review */
/* (That code runs as root on systems without logind, and wlc_init drops to
* another user.) */
if (!wlc_init(&interface, argc, argv)) {
register_wlc_handlers();
if (!wlc_init2()) {
return 1;
}
register_extensions();