summaryrefslogtreecommitdiffstats
path: root/common/ipc-client.c
Commit message (Collapse)AuthorAge
* common: fix potential buffer overflowLibravatar Eric Engestrom2016-05-01
|
* Abort when receiving 0 bytes in IPC callLibravatar Mikkel Oscar Lyderik2016-03-22
| | | | | | | | | | | When sway crashes a swaybar process is sometimes left behind running at 100% CPU. This was caused by the swaybar trying to retrieve an IPC response from the closed sway socket. This patch fixes the problem by aborting when the socket has been closed (recv return 0). Fix #528
* Add type to returned response.Libravatar Mikkel Oscar Lyderik2016-01-03
| | | | | | | Makes `ipc_recv_response` return a struct with size, type and payload rather than just the payload string. This is useful if the type has to be checked on the client.
* Subscribe to workspace change events and redrawLibravatar Drew DeVault2015-12-13
|
* Fix incorrect #include on ipc-client.cLibravatar Drew DeVault2015-11-28
|
* Add command line to swaygrabLibravatar Drew DeVault2015-11-27
| | | | | Also modifies IPC client so that we can work with persistent connections.
* Move IPC client into common, refactor IPCLibravatar Drew DeVault2015-11-27