commit 64bd4d568557a002efa6e1585ee86f2c63918638
parent 94cf3f1b17c7e9a6f8d6d107ccb6ae2fc7c7079b
Author: emersion <contact@emersion.fr>
Date: Thu, 10 May 2018 12:31:58 +0100
Merge pull request #1950 from RyanDwyer/fix-font-height-reload
Use reasonable default for font height
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/config.c b/sway/config.c
@@ -172,7 +172,7 @@ static void config_defaults(struct sway_config *config) {
config->default_layout = L_NONE;
config->default_orientation = L_NONE;
if (!(config->font = strdup("monospace 10"))) goto cleanup;
- config->font_height = 0;
+ config->font_height = 17; // height of monospace 10
// floating view
config->floating_maximum_width = 0;