aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-05-08 17:17:35 +0300
committerLibravatar Mykyta Holubakha <hilobakho@gmail.com>2016-05-08 17:17:35 +0300
commit0c495eecde82c3b7a2827c713badfd13536f5507 (patch)
treeed2cbb25cb60138bac65178e50ab9cf717dad787 /sway/config.c
parentDocumented floating_scroll (diff)
downloadsway-0c495eecde82c3b7a2827c713badfd13536f5507.tar.gz
sway-0c495eecde82c3b7a2827c713badfd13536f5507.tar.zst
sway-0c495eecde82c3b7a2827c713badfd13536f5507.zip
Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sway/config.c b/sway/config.c
index 15aed11b..6c1d21c8 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -131,8 +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); 134 free(config->floating_scroll_up_cmd);
135 free(config->fsb_down); 135 free(config->floating_scroll_down_cmd);
136 free(config); 136 free(config);
137} 137}
138 138
@@ -161,9 +161,8 @@ static void config_defaults(struct sway_config *config) {
161 config->floating_mod = 0; 161 config->floating_mod = 0;
162 config->dragging_key = M_LEFT_CLICK; 162 config->dragging_key = M_LEFT_CLICK;
163 config->resizing_key = M_RIGHT_CLICK; 163 config->resizing_key = M_RIGHT_CLICK;
164 config->floating_scroll = FSB_GAPS_INNER; 164 config->floating_scroll_up_cmd = strdup("");
165 config->fsb_up = strdup(""); 165 config->floating_scroll_down_cmd = strdup("");
166 config->fsb_down = strdup("");
167 config->default_layout = L_NONE; 166 config->default_layout = L_NONE;
168 config->default_orientation = L_NONE; 167 config->default_orientation = L_NONE;
169 config->font = strdup("monospace 10"); 168 config->font = strdup("monospace 10");