aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
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[] = {