diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-17 16:09:16 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-17 16:09:16 +0000 |
| commit | f87a13bbd2bd73924ef5c70ae96213029bebfcc7 (patch) | |
| tree | 68ce26ec0c53e5ada2c0efdd1252478b0f97c0b9 /config.c | |
| parent | Merge branch 'reflow-performane-no-new-row-initialization' (diff) | |
| parent | box-drawing: pre-calculate the LIGHT and HEAVY thicknesses (diff) | |
Merge branch 'box-drawing-use-pixman'
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1929,6 +1929,14 @@ parse_section_tweak( conf->tweak.box_drawing_base_thickness); } + else if (strcmp(key, "box-drawing-solid-shades") == 0) { + conf->tweak.box_drawing_solid_shades = str_to_bool(value); + + if (!conf->tweak.box_drawing_solid_shades) + LOG_WARN("tweak: box-drawing-solid-shades=%s", + conf->tweak.box_drawing_solid_shades ? "yes" : "no"); + } + else { LOG_AND_NOTIFY_ERR("%s:%u: [tweak]: %s: invalid key", path, lineno, key); return false; @@ -2396,6 +2404,7 @@ config_load(struct config *conf, const char *conf_path, .render_timer_log = false, .damage_whole_window = false, .box_drawing_base_thickness = 0.04, + .box_drawing_solid_shades = true, }, .notifications = tll_init(), |
