take seat param for handle_command and rename

This commit is contained in:
Tony Crisci 2018-02-24 12:50:24 -05:00
parent 6becfc1431
commit ac8269d536
5 changed files with 32 additions and 25 deletions

View file

@ -46,9 +46,9 @@ struct cmd_results *checkarg(int argc, const char *name,
enum expected_args type, int val);
/**
* Parse and handles a command.
* Parse and executes a command.
*/
struct cmd_results *handle_command(char *command);
struct cmd_results *execute_command(char *command, struct sway_seat *seat);
/**
* Parse and handles a command during config file loading.
*