Remove FSB_GAPS_INNER and FSB_GAPS_OUTER

This commit is contained in:
Mykyta Holubakha 2016-05-08 17:17:35 +03:00
parent 394a5d36cb
commit 0c495eecde
5 changed files with 20 additions and 75 deletions

View file

@ -131,8 +131,8 @@ void free_config(struct sway_config *config) {
list_free(config->active_bar_modifiers);
free_flat_list(config->config_chain);
free(config->font);
free(config->fsb_up);
free(config->fsb_down);
free(config->floating_scroll_up_cmd);
free(config->floating_scroll_down_cmd);
free(config);
}
@ -161,9 +161,8 @@ static void config_defaults(struct sway_config *config) {
config->floating_mod = 0;
config->dragging_key = M_LEFT_CLICK;
config->resizing_key = M_RIGHT_CLICK;
config->floating_scroll = FSB_GAPS_INNER;
config->fsb_up = strdup("");
config->fsb_down = strdup("");
config->floating_scroll_up_cmd = strdup("");
config->floating_scroll_down_cmd = strdup("");
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
config->font = strdup("monospace 10");