diff options
author | Drew DeVault <[email protected]> | 2016-03-24 14:08:53 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2016-03-24 14:08:53 -0400 |
commit | 5c85c018b4692e1bccedaf9d10be052b79e7dc63 (patch) | |
tree | f9cf3829b189547dbcef1fba71770c4f0bb081bd /sway/main.c | |
parent | 686530d5e8f21ed146a489ad8a477f9241dfc722 (diff) |
Update to new WLC API
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index 7c712281..d4f18e9a 100644 --- a/sway/main.c +++ b/sway/main.c @@ -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(); |