aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c3
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();