Removed additional event socket to reduce synchronisation problems
and limited workspace update requests count.
This commit is contained in:
Ilya Lukyanov 2017-08-04 15:16:05 +03:00
parent f8d0e1f946
commit 8dec814bb4
No known key found for this signature in database
GPG key ID: 382C32164F3D37D4
5 changed files with 49 additions and 19 deletions

View file

@ -23,6 +23,10 @@ char *get_socketpath(void);
* Opens the sway socket.
*/
int ipc_open_socket(const char *socket_path);
/**
* Issues a single IPC command without reading response.
*/
void ipc_single_command_no_response(int socketfd, uint32_t type, const char *payload, uint32_t *len);
/**
* Issues a single IPC command and returns the buffer. len will be updated with
* the length of the buffer returned from sway.