diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-06 18:13:10 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-06 18:13:10 +0000 |
| commit | f434933824da23ced65e4134d6cb76c99b49897e (patch) | |
| tree | 27d2348eec099d7774864dbd0a6ab23f1c63cf76 /render.c | |
| parent | sixel: don't try to dirty an un-allocated row (diff) | |
render: CSD: use *default* foreground, not current foreground
Applications may temporarily change the foreground color. Don't use
this when rendering the CSD title bar - use the default
foreground (i.e the default default one, or the one configured by the
user in footrc).
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -748,7 +748,7 @@ render_csd_title(struct terminal *term) struct buffer *buf = shm_get_buffer( term->wl->shm, info.width, info.height, cookie); - uint32_t _color = term->colors.fg; + uint32_t _color = term->colors.default_fg; uint16_t alpha = 0xffff; if (term->conf->csd.color.title_set) { |
