aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-10-27 17:19:18 -0400
committerDrew DeVault <sir@cmpwn.com>2015-10-27 17:19:18 -0400
commit6cd106d23c73c1f5c5f87d4c024400cfd5edc93f (patch)
tree5a0d395cb76a8329c80b3cba95b8ca63e66f326c /include/ipc.h
parent36526e8cb2bfdfaf0b6c1f5679b8cf7a1f0db27c (diff)
parent9925554ea443c03197e319b7c0a884f80b3b63c0 (diff)
Merge pull request #208 from minus7/ipc_subscribe
implemented IPC subscribe for workspace event
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h
index 1932ad2d..36957ac1 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -1,6 +1,8 @@
#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
+#include "container.h"
+
enum ipc_command_type {
IPC_COMMAND = 0,
IPC_GET_WORKSPACES = 1,
@@ -16,4 +18,6 @@ void ipc_init(void);
void ipc_terminate(void);
struct sockaddr_un *ipc_user_sockaddr(void);
+void ipc_event_workspace(swayc_t *old, swayc_t *new);
+
#endif