diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-11-19 18:26:06 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-11-19 18:26:06 +0000 |
| commit | 3640164917f227f367a38fe486120fa50627f9b1 (patch) | |
| tree | 6b58a2084fa48a84615f85a4016b4359b3235da7 /config.c | |
| parent | Merge branch 'require-space-to-overflow-double-width-glyph' (diff) | |
| parent | terminal: use 96, not 75, for DPI when being DPI unaware (diff) | |
Merge branch 'dpi-unaware'
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -578,6 +578,9 @@ parse_section_main(const char *key, const char *value, struct config *conf, free(copy); } + else if (strcmp(key, "dpi-aware") == 0) + conf->dpi_aware = str_to_bool(value); + else if (strcmp(key, "workers") == 0) { unsigned long count; if (!str_to_ulong(value, 10, &count)) { @@ -2024,6 +2027,7 @@ config_load(struct config *conf, const char *conf_path, .bell_is_urgent = false, .startup_mode = STARTUP_WINDOWED, .fonts = {tll_init(), tll_init(), tll_init(), tll_init()}, + .dpi_aware = true, /* Use DPI by default, not scale factor */ .scrollback = { .lines = 1000, .indicator = { |
