aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sway/main.c b/sway/main.c
index 42262b05..5d5f9a57 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -17,6 +17,7 @@
#endif
#include "sway/server.h"
#include "sway/layout.h"
+#include "sway/ipc-server.h"
#include "ipc-client.h"
#include "log.h"
#include "readline.h"
@@ -438,7 +439,7 @@ int main(int argc, char **argv) {
}
init_layout();
- //ipc_init();
+ ipc_init(&server);
//if (validate) {
// bool valid = load_main_config(config_path, false);
@@ -461,7 +462,7 @@ int main(int argc, char **argv) {
server_fini(&server);
- //ipc_terminate();
+ ipc_terminate();
//if (config) {
// free_config(config);