diff options
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 193cfad2..5501ab31 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "input_state.h" | 22 | #include "input_state.h" |
23 | #include "criteria.h" | 23 | #include "criteria.h" |
24 | #include "input.h" | 24 | #include "input.h" |
25 | #include "border.h" | ||
25 | 26 | ||
26 | struct sway_config *config = NULL; | 27 | struct sway_config *config = NULL; |
27 | 28 | ||
@@ -161,6 +162,7 @@ static void config_defaults(struct sway_config *config) { | |||
161 | config->default_layout = L_NONE; | 162 | config->default_layout = L_NONE; |
162 | config->default_orientation = L_NONE; | 163 | config->default_orientation = L_NONE; |
163 | config->font = strdup("monospace 10"); | 164 | config->font = strdup("monospace 10"); |
165 | config->font_height = get_font_text_height(config->font); | ||
164 | 166 | ||
165 | // Flags | 167 | // Flags |
166 | config->focus_follows_mouse = true; | 168 | config->focus_follows_mouse = true; |