diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-09-03 18:52:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-03 18:52:44 +0000 |
| commit | 32bceaa786fd3c6c767f9497aeb2c8002f1bb4cb (patch) | |
| tree | c5dd544c9fea6b9be108dfc7094bf3e036def5e5 /server.c | |
| parent | terminal: prefer the advance width of ‘M’ over that of a space (diff) | |
| parent | config: codespell: setting has only two ‘t’ (diff) | |
Merge branch 'check-font-is-monospace'
Closes #704
Diffstat (limited to 'server.c')
| -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) { |
