aboutsummaryrefslogtreecommitdiffstats
path: root/sway/config.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-10 21:24:00 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-10 21:24:00 +1000
commit497793b5b73ef0fec20a74f0ce3d612930148011 (patch)
treef29f1c025932e02cea4ff08214d1e15d952ceca6 /sway/config.c
parentMerge pull request #1947 from dlrobertson/fix_null_deref (diff)
downloadsway-497793b5b73ef0fec20a74f0ce3d612930148011.tar.gz
sway-497793b5b73ef0fec20a74f0ce3d612930148011.tar.zst
sway-497793b5b73ef0fec20a74f0ce3d612930148011.zip
Use reasonable default for font height
Fixes #1949
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/config.c b/sway/config.c
index a14f4ec6..270c1d86 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -172,7 +172,7 @@ static void config_defaults(struct sway_config *config) {
172 config->default_layout = L_NONE; 172 config->default_layout = L_NONE;
173 config->default_orientation = L_NONE; 173 config->default_orientation = L_NONE;
174 if (!(config->font = strdup("monospace 10"))) goto cleanup; 174 if (!(config->font = strdup("monospace 10"))) goto cleanup;
175 config->font_height = 0; 175 config->font_height = 17; // height of monospace 10
176 176
177 // floating view 177 // floating view
178 config->floating_maximum_width = 0; 178 config->floating_maximum_width = 0;