From 6d392150a72ecc3b69fcfb48865f625e2c7b79d6 Mon Sep 17 00:00:00 2001 From: M Stoeckl Date: Thu, 10 Jan 2019 08:27:52 -0500 Subject: 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.) --- include/sway/commands.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3