Use reasonable default for font height

Fixes #1949
This commit is contained in:
Ryan Dwyer 2018-05-10 21:24:00 +10:00
parent 94cf3f1b17
commit 497793b5b7
1 changed files with 1 additions and 1 deletions

View File

@ -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;