diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-22 21:37:07 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-22 21:37:07 -0500 |
commit | 7753a0ec750f17e1f014cda0dd2564ae0533cdd4 (patch) | |
tree | 581d84114d97edbe2ef068a7568fe44b63159ce5 /sway/main.c | |
parent | d7d21bb0f895248cafefc3d12e4aed033a8e5d17 (diff) |
Wire up IPC server
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 5 |
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); |