aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab/json.c
Commit message (Collapse)AuthorAge
* swaygrab: Add some error handling.Libravatar Geoff Greer2017-10-22
| | | | | - If IPC response contains `success: false`, abort and print error message. - If tree has no nodes, abort with error msg instead of segfaulting.
* swaygrab: Increase max depth of JSON parsing to 256. Prevent segfault if IPC ↵Libravatar Geoff Greer2017-10-22
| | | | | | response can't be parsed. The default max nesting depth of json-c is 32, which can cause some valid trees to fail to be parsed, so increase that. Also instead of segfaulting, just abort and print the error returned by json-c.
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18