aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-03 18:52:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-03 18:52:44 +0000
commit32bceaa786fd3c6c767f9497aeb2c8002f1bb4cb (patch)
treec5dd544c9fea6b9be108dfc7094bf3e036def5e5 /server.c
parentterminal: prefer the advance width of ‘M’ over that of a space (diff)
parentconfig: codespell: setting has only two ‘t’ (diff)
Merge branch 'check-font-is-monospace'
Closes #704
Diffstat (limited to 'server.c')
-rw-r--r--server.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/server.c b/server.c
index 7d3d3ca0..5144ed17 100644
--- a/server.c
+++ b/server.c
@@ -291,6 +291,12 @@ fdm_client(struct fdm *fdm, int fd, int events, void *data)
conf->hold_at_exit = cdata.hold;
config_override_apply(conf, &overrides, false);
+
+ if (conf->tweak.font_monospace_warn && conf->fonts[0].count > 0) {
+ check_if_font_is_monospaced(
+ conf->fonts[0].arr[0].pattern,
+ &conf->notifications);
+ }
}
*instance = (struct terminal_instance) {