summaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 237d8996..15aed11b 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -131,6 +131,8 @@ void free_config(struct sway_config *config) {
131 list_free(config->active_bar_modifiers); 131 list_free(config->active_bar_modifiers);
132 free_flat_list(config->config_chain); 132 free_flat_list(config->config_chain);
133 free(config->font); 133 free(config->font);
134 free(config->fsb_up);
135 free(config->fsb_down);
134 free(config); 136 free(config);
135} 137}
136 138
@@ -160,6 +162,8 @@ static void config_defaults(struct sway_config *config) {
160 config->dragging_key = M_LEFT_CLICK; 162 config->dragging_key = M_LEFT_CLICK;
161 config->resizing_key = M_RIGHT_CLICK; 163 config->resizing_key = M_RIGHT_CLICK;
162 config->floating_scroll = FSB_GAPS_INNER; 164 config->floating_scroll = FSB_GAPS_INNER;
165 config->fsb_up = strdup("");
166 config->fsb_down = strdup("");
163 config->default_layout = L_NONE; 167 config->default_layout = L_NONE;
164 config->default_orientation = L_NONE; 168 config->default_orientation = L_NONE;
165 config->font = strdup("monospace 10"); 169 config->font = strdup("monospace 10");