diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-10-27 17:19:18 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-10-27 17:19:18 -0400 |
commit | 6cd106d23c73c1f5c5f87d4c024400cfd5edc93f (patch) | |
tree | 5a0d395cb76a8329c80b3cba95b8ca63e66f326c /include | |
parent | Merge pull request #206 from sce/debuglog (diff) | |
parent | implemented IPC subscribe for workspace event (diff) | |
download | sway-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.h | 4 |
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 | |||
4 | enum ipc_command_type { | 6 | enum 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); | |||
16 | void ipc_terminate(void); | 18 | void ipc_terminate(void); |
17 | struct sockaddr_un *ipc_user_sockaddr(void); | 19 | struct sockaddr_un *ipc_user_sockaddr(void); |
18 | 20 | ||
21 | void ipc_event_workspace(swayc_t *old, swayc_t *new); | ||
22 | |||
19 | #endif | 23 | #endif |