diff options
author | Geoff Greer <geoff@greer.fm> | 2017-10-22 18:03:45 -0700 |
---|---|---|
committer | Geoff Greer <geoff@greer.fm> | 2017-10-22 18:09:36 -0700 |
commit | 29f27c7cdc9e11aa560a5d49d110fc705dbc21cb (patch) | |
tree | 06c66f34523546b3a21dae6a6edcadc6f7decc6d /sway/output.c | |
parent | d10e72318315fa8ad0772f685f24cf2c9e2b5cc2 (diff) |
swaygrab: Add some error handling.
- If IPC response contains `success: false`, abort and print error message.
- If tree has no nodes, abort with error msg instead of segfaulting.
Diffstat (limited to 'sway/output.c')
0 files changed, 0 insertions, 0 deletions