aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorM Stoeckl <code@mstoeckl.com>2019-01-10 08:27:52 -0500
committerM Stoeckl <code@mstoeckl.com>2019-01-14 07:58:02 -0500
commit6d392150a72ecc3b69fcfb48865f625e2c7b79d6 (patch)
treed475f79c414825f4f3eb6ab0e2d2e28d929f7e71 /include/sway
parent64ef9366733d6d332a24897f72eba90ba2adca1e (diff)
downloadsway-6d392150a72ecc3b69fcfb48865f625e2c7b79d6.tar.xz
Remove 'input' field of IPC command return json
This field is not in i3 and provides imprecise and redundant information. (Specifically, when swaymsg is given a list of commands, the IPC return array already indicates precisely which number command failed; knowing the name of the command is not useful when multiple commands of the same type are provided.)
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 5d45d78b..757cc817 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -31,7 +31,6 @@ enum cmd_status {
*/
struct cmd_results {
enum cmd_status status;
- char *input;
/**
* Human friendly error message, or NULL on success
*/
@@ -63,7 +62,7 @@ list_t *execute_command(char *command, struct sway_seat *seat,
*
* Do not use this under normal conditions.
*/
-struct cmd_results *config_command(char *command);
+struct cmd_results *config_command(char *command, char **new_block);
/**
* Parse and handle a sub command
*/