aboutsummaryrefslogtreecommitdiffstats
path: root/include/ipc-client.h
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-12-13 16:04:54 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-12-13 16:04:54 -0500
commite277d4e094a8294f9541048c0a4a6d0cf9c3f0bc (patch)
tree6ae1d025c35c8cc0595048d5f00c7f9255a4cfc8 /include/ipc-client.h
parentDisplay workspaces on swaybar (diff)
downloadsway-e277d4e094a8294f9541048c0a4a6d0cf9c3f0bc.tar.gz
sway-e277d4e094a8294f9541048c0a4a6d0cf9c3f0bc.tar.zst
sway-e277d4e094a8294f9541048c0a4a6d0cf9c3f0bc.zip
Subscribe to workspace change events and redraw
Diffstat (limited to 'include/ipc-client.h')
-rw-r--r--include/ipc-client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ipc-client.h b/include/ipc-client.h
index e6c988c2..a4cfd87f 100644
--- a/include/ipc-client.h
+++ b/include/ipc-client.h
@@ -16,5 +16,10 @@ int ipc_open_socket(const char *socket_path);
16 * the length of the buffer returned from sway. 16 * the length of the buffer returned from sway.
17 */ 17 */
18char *ipc_single_command(int socketfd, uint32_t type, const char *payload, uint32_t *len); 18char *ipc_single_command(int socketfd, uint32_t type, const char *payload, uint32_t *len);
19/**
20 * Receives a single IPC resposne and returns the buffer. len will be updated
21 * with the length of the buffer returned from sway.
22 */
23char *ipc_recv_response(int socketfd, uint32_t *len);
19 24
20#endif 25#endif