aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-10-27 17:19:18 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-10-27 17:19:18 -0400
commit6cd106d23c73c1f5c5f87d4c024400cfd5edc93f (patch)
tree5a0d395cb76a8329c80b3cba95b8ca63e66f326c /include
parentMerge pull request #206 from sce/debuglog (diff)
parentimplemented IPC subscribe for workspace event (diff)
downloadsway-6cd106d23c73c1f5c5f87d4c024400cfd5edc93f.tar.gz
sway-6cd106d23c73c1f5c5f87d4c024400cfd5edc93f.tar.zst
sway-6cd106d23c73c1f5c5f87d4c024400cfd5edc93f.zip
Merge pull request #208 from minus7/ipc_subscribe
implemented IPC subscribe for workspace event
Diffstat (limited to 'include')
-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 @@
1#ifndef _SWAY_IPC_H 1#ifndef _SWAY_IPC_H
2#define _SWAY_IPC_H 2#define _SWAY_IPC_H
3 3
4#include "container.h"
5
4enum ipc_command_type { 6enum ipc_command_type {
5 IPC_COMMAND = 0, 7 IPC_COMMAND = 0,
6 IPC_GET_WORKSPACES = 1, 8 IPC_GET_WORKSPACES = 1,
@@ -16,4 +18,6 @@ void ipc_init(void);
16void ipc_terminate(void); 18void ipc_terminate(void);
17struct sockaddr_un *ipc_user_sockaddr(void); 19struct sockaddr_un *ipc_user_sockaddr(void);
18 20
21void ipc_event_workspace(swayc_t *old, swayc_t *new);
22
19#endif 23#endif