diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-08-31 17:52:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-08-31 17:58:35 +0000 |
| commit | 1233e000f02ce664134fbbba7b46b710f544436d (patch) | |
| tree | 85782bec9fee0b3d3a6fe00d651d1d183abaead7 | |
| parent | main: verify primary font is monospaced at startup (diff) | |
server: verify primary font is monospaced
... unless we’re re-using the main conf as-is, in which case we will
already have done this (and the conf’s user-notification list will
already contain a warning).
| -rw-r--r-- | server.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |
