From 5c85c018b4692e1bccedaf9d10be052b79e7dc63 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 24 Mar 2016 14:08:53 -0400 Subject: Update to new WLC API --- sway/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/main.c') 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(); -- cgit v1.2.3