aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 21:37:07 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 21:37:07 -0500
commit7753a0ec750f17e1f014cda0dd2564ae0533cdd4 (patch)
tree581d84114d97edbe2ef068a7568fe44b63159ce5 /sway/main.c
parentAdd initial command subsystem (untested) (diff)
downloadsway-7753a0ec750f17e1f014cda0dd2564ae0533cdd4.tar.gz
sway-7753a0ec750f17e1f014cda0dd2564ae0533cdd4.tar.zst
sway-7753a0ec750f17e1f014cda0dd2564ae0533cdd4.zip
Wire up IPC server
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 @@
17#endif 17#endif
18#include "sway/server.h" 18#include "sway/server.h"
19#include "sway/layout.h" 19#include "sway/layout.h"
20#include "sway/ipc-server.h"
20#include "ipc-client.h" 21#include "ipc-client.h"
21#include "log.h" 22#include "log.h"
22#include "readline.h" 23#include "readline.h"
@@ -438,7 +439,7 @@ int main(int argc, char **argv) {
438 } 439 }
439 440
440 init_layout(); 441 init_layout();
441 //ipc_init(); 442 ipc_init(&server);
442 443
443 //if (validate) { 444 //if (validate) {
444 // bool valid = load_main_config(config_path, false); 445 // bool valid = load_main_config(config_path, false);
@@ -461,7 +462,7 @@ int main(int argc, char **argv) {
461 462
462 server_fini(&server); 463 server_fini(&server);
463 464
464 //ipc_terminate(); 465 ipc_terminate();
465 466
466 //if (config) { 467 //if (config) {
467 // free_config(config); 468 // free_config(config);