summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-05-10 12:31:58 +0100
committerLibravatar GitHub <noreply@github.com>2018-05-10 12:31:58 +0100
commit64bd4d568557a002efa6e1585ee86f2c63918638 (patch)
treef29f1c025932e02cea4ff08214d1e15d952ceca6
parentMerge pull request #1947 from dlrobertson/fix_null_deref (diff)
parentUse reasonable default for font height (diff)
downloadsway-64bd4d568557a002efa6e1585ee86f2c63918638.tar.gz
sway-64bd4d568557a002efa6e1585ee86f2c63918638.tar.zst
sway-64bd4d568557a002efa6e1585ee86f2c63918638.zip
Merge pull request #1950 from RyanDwyer/fix-font-height-reload
Use reasonable default for font height
-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;