diff options
author | M Stoeckl <code@mstoeckl.com> | 2019-01-10 08:27:52 -0500 |
---|---|---|
committer | M Stoeckl <code@mstoeckl.com> | 2019-01-14 07:58:02 -0500 |
commit | 6d392150a72ecc3b69fcfb48865f625e2c7b79d6 (patch) | |
tree | d475f79c414825f4f3eb6ab0e2d2e28d929f7e71 /include | |
parent | Merge pull request #3418 from RyanDwyer/remove-resize-axis (diff) | |
download | sway-6d392150a72ecc3b69fcfb48865f625e2c7b79d6.tar.gz sway-6d392150a72ecc3b69fcfb48865f625e2c7b79d6.tar.zst sway-6d392150a72ecc3b69fcfb48865f625e2c7b79d6.zip |
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')
-rw-r--r-- | include/sway/commands.h | 3 |
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 { | |||
31 | */ | 31 | */ |
32 | struct cmd_results { | 32 | struct cmd_results { |
33 | enum cmd_status status; | 33 | enum cmd_status status; |
34 | char *input; | ||
35 | /** | 34 | /** |
36 | * Human friendly error message, or NULL on success | 35 | * Human friendly error message, or NULL on success |
37 | */ | 36 | */ |
@@ -63,7 +62,7 @@ list_t *execute_command(char *command, struct sway_seat *seat, | |||
63 | * | 62 | * |
64 | * Do not use this under normal conditions. | 63 | * Do not use this under normal conditions. |
65 | */ | 64 | */ |
66 | struct cmd_results *config_command(char *command); | 65 | struct cmd_results *config_command(char *command, char **new_block); |
67 | /** | 66 | /** |
68 | * Parse and handle a sub command | 67 | * Parse and handle a sub command |
69 | */ | 68 | */ |