mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
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.)
This commit is contained in:
parent
64ef936673
commit
6d392150a7
3 changed files with 11 additions and 22 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue