diff options
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 6c1d21c8..14b657ef 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -133,6 +133,8 @@ void free_config(struct sway_config *config) { | |||
133 | free(config->font); | 133 | free(config->font); |
134 | free(config->floating_scroll_up_cmd); | 134 | free(config->floating_scroll_up_cmd); |
135 | free(config->floating_scroll_down_cmd); | 135 | free(config->floating_scroll_down_cmd); |
136 | free(config->floating_scroll_left_cmd); | ||
137 | free(config->floating_scroll_right_cmd); | ||
136 | free(config); | 138 | free(config); |
137 | } | 139 | } |
138 | 140 | ||
@@ -163,6 +165,8 @@ static void config_defaults(struct sway_config *config) { | |||
163 | config->resizing_key = M_RIGHT_CLICK; | 165 | config->resizing_key = M_RIGHT_CLICK; |
164 | config->floating_scroll_up_cmd = strdup(""); | 166 | config->floating_scroll_up_cmd = strdup(""); |
165 | config->floating_scroll_down_cmd = strdup(""); | 167 | config->floating_scroll_down_cmd = strdup(""); |
168 | config->floating_scroll_left_cmd = strdup(""); | ||
169 | config->floating_scroll_right_cmd = strdup(""); | ||
166 | config->default_layout = L_NONE; | 170 | config->default_layout = L_NONE; |
167 | config->default_orientation = L_NONE; | 171 | config->default_orientation = L_NONE; |
168 | config->font = strdup("monospace 10"); | 172 | config->font = strdup("monospace 10"); |