summaryrefslogtreecommitdiff
path: root/swaymsg/main.c
AgeCommit message (Collapse)AuthorLines
2016-07-31swaymsg: pretty print ipc responseTony Crisci-2/+14
fixes #809
2016-02-26Correctly exit sway on errors.Mikkel Oscar Lyderik-2/+2
Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-01-19libinputCole Mickens-0/+2
2015-12-02swaymsg: add newline after responseChristoph Gysin-1/+1
2015-11-28Fix option parsingChristoph Gysin-2/+3
Using 'flag' results in duplicate code paths for short and long options. This broke the -q short option in swaymsg, because there was: {"quiet", no_argument, &quiet, 'q'} Which will set quiet to 'q' and return 0, not 'q'.
2015-11-28swaymsg: Add --help option that prints usageChristoph Gysin-1/+3
2015-11-28swaymsg: Print usage and exit on unknown optionsChristoph Gysin-0/+11
2015-11-28Use macros for exit valuesChristoph Gysin-2/+2
2015-11-27Add command line to swaygrabDrew DeVault-1/+4
Also modifies IPC client so that we can work with persistent connections.
2015-11-27Move IPC client into common, refactor IPCDrew DeVault-68/+2
2015-11-27Fix build warningsDrew DeVault-1/+3
2015-11-26Implement swaymsg IPC behaviorDrew DeVault-2/+70
2015-11-26Parse command line args for swaymsgDrew DeVault-2/+92
2015-11-26Add swaymsg subprojectDrew DeVault-0/+11