summaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
authorminus <[email protected]>2015-08-16 20:24:18 +0200
committerminus <[email protected]>2015-08-20 15:24:33 +0200
commit8981b48cd2cdd0a59c1546f2816587b303538d77 (patch)
treec764bd013e9e368418adee8e3e833fb5b948c796 /sway/main.c
parent579fe70ed92ce65d5a761ebdbb6c458b5f919687 (diff)
very basic IPC implementation
simply executes the received data as command
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index 4a7e13c1..1af1278d 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -9,6 +9,7 @@
#include "config.h"
#include "log.h"
#include "handlers.h"
+#include "ipc.h"
static void sigchld_handle(int signal);
@@ -99,6 +100,8 @@ int main(int argc, char **argv) {
free(config_path);
}
+ init_ipc();
+
wlc_run();
if (devnull) {
fclose(devnull);