aboutsummaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
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 @@
#include "input_state.h"
#include "criteria.h"
#include "input.h"
+#include "border.h"
struct sway_config *config = NULL;
@@ -161,6 +162,7 @@ static void config_defaults(struct sway_config *config) {
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
config->font = strdup("monospace 10");
+ config->font_height = get_font_text_height(config->font);
// Flags
config->focus_follows_mouse = true;