diff options
author | Drew DeVault <[email protected]> | 2015-08-22 11:18:55 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-22 11:18:55 -0400 |
commit | b7f4607544d51811e986b98c8c3eda7ed7c68b1a (patch) | |
tree | 0e2cf9f02e1d2cde3bf7d0b7424ff5ac3ee6c1e3 /sway/config.c | |
parent | ade634bb04027a6ea5f053330e044638f135c147 (diff) |
Implement output configuration through config
Do not use `output res WIDTHxHEIGHT` yet, wlc has issues with it (cc
@Cloudef)
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 1ebd95ff..fcd60de7 100644 --- a/sway/config.c +++ b/sway/config.c @@ -22,6 +22,7 @@ void config_defaults(struct sway_config *config) { config->modes = create_list(); config->cmd_queue = create_list(); config->workspace_outputs = create_list(); + config->output_configs = create_list(); config->current_mode = malloc(sizeof(struct sway_mode)); config->current_mode->name = NULL; config->current_mode->bindings = create_list(); @@ -60,6 +61,7 @@ void free_config(struct sway_config *config) { free(sym->value); } free_flat_list(config->symbols); + free_flat_list(config->output_configs); } static const char *search_paths[] = { |