diff options
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sway/config.c b/sway/config.c index fe811d27..bcf8d56f 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -154,9 +154,6 @@ void free_config(struct sway_config *config) { | |||
154 | list_free(config->no_focus); | 154 | list_free(config->no_focus); |
155 | list_free(config->active_bar_modifiers); | 155 | list_free(config->active_bar_modifiers); |
156 | list_free_items_and_destroy(config->config_chain); | 156 | list_free_items_and_destroy(config->config_chain); |
157 | list_free(config->command_policies); | ||
158 | list_free(config->feature_policies); | ||
159 | list_free(config->ipc_policies); | ||
160 | free(config->floating_scroll_up_cmd); | 157 | free(config->floating_scroll_up_cmd); |
161 | free(config->floating_scroll_down_cmd); | 158 | free(config->floating_scroll_down_cmd); |
162 | free(config->floating_scroll_left_cmd); | 159 | free(config->floating_scroll_left_cmd); |
@@ -327,11 +324,6 @@ static void config_defaults(struct sway_config *config) { | |||
327 | 324 | ||
328 | color_to_rgba(config->border_colors.background, 0xFFFFFFFF); | 325 | color_to_rgba(config->border_colors.background, 0xFFFFFFFF); |
329 | 326 | ||
330 | // Security | ||
331 | if (!(config->command_policies = create_list())) goto cleanup; | ||
332 | if (!(config->feature_policies = create_list())) goto cleanup; | ||
333 | if (!(config->ipc_policies = create_list())) goto cleanup; | ||
334 | |||
335 | // The keysym to keycode translation | 327 | // The keysym to keycode translation |
336 | struct xkb_rule_names rules = {0}; | 328 | struct xkb_rule_names rules = {0}; |
337 | config->keysym_translation_state = | 329 | config->keysym_translation_state = |