diff options
author | 2016-03-24 14:08:53 -0400 | |
---|---|---|
committer | 2016-03-24 14:08:53 -0400 | |
commit | 5c85c018b4692e1bccedaf9d10be052b79e7dc63 (patch) | |
tree | f9cf3829b189547dbcef1fba71770c4f0bb081bd /sway/main.c | |
parent | Merge pull request #535 from mikkeloscar/fix-swaylock-crash (diff) | |
download | sway-5c85c018b4692e1bccedaf9d10be052b79e7dc63.tar.gz sway-5c85c018b4692e1bccedaf9d10be052b79e7dc63.tar.zst sway-5c85c018b4692e1bccedaf9d10be052b79e7dc63.zip |
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) { | |||
187 | /* Changing code earlier than this point requires detailed review */ | 187 | /* Changing code earlier than this point requires detailed review */ |
188 | /* (That code runs as root on systems without logind, and wlc_init drops to | 188 | /* (That code runs as root on systems without logind, and wlc_init drops to |
189 | * another user.) */ | 189 | * another user.) */ |
190 | if (!wlc_init(&interface, argc, argv)) { | 190 | register_wlc_handlers(); |
191 | if (!wlc_init2()) { | ||
191 | return 1; | 192 | return 1; |
192 | } | 193 | } |
193 | register_extensions(); | 194 | register_extensions(); |