aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-10 12:31:58 +0100
committerGitHub <noreply@github.com>2018-05-10 12:31:58 +0100
commit64bd4d568557a002efa6e1585ee86f2c63918638 (patch)
treef29f1c025932e02cea4ff08214d1e15d952ceca6 /sway
parent94cf3f1b17c7e9a6f8d6d107ccb6ae2fc7c7079b (diff)
parent497793b5b73ef0fec20a74f0ce3d612930148011 (diff)
downloadsway-64bd4d568557a002efa6e1585ee86f2c63918638.tar.xz
Merge pull request #1950 from RyanDwyer/fix-font-height-reload
Use reasonable default for font height
Diffstat (limited to 'sway')
-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) {
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;