diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-01-10 08:27:52 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-01-10 08:27:52 -0500 |
| commit | c69c29538359a68d627aea44e595edeab7a4adfd (patch) | |
| tree | d475f79c414825f4f3eb6ab0e2d2e28d929f7e71 /include | |
| parent | 87817f9a8f0fd937b1822ee38c7e7e5869520bf4 (diff) | |
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 { */ 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 */ |
