Refactor cmd_output to use config_subcommand

This commit is contained in:
Brian Ashworth 2018-06-02 21:33:16 -04:00
parent ebe0b668c9
commit 5ea4a4d3ee
12 changed files with 371 additions and 267 deletions

View file

@ -372,10 +372,15 @@ struct sway_config {
// Context for command handlers
struct {
struct input_config *input_config;
struct output_config *output_config;
struct seat_config *seat_config;
struct sway_seat *seat;
struct sway_container *current_container;
bool using_criteria;
struct {
int argc;
char **argv;
} leftovers;
} handler_context;
};