aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-03-06 18:13:10 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-03-06 18:13:10 +0000
commitf434933824da23ced65e4134d6cb76c99b49897e (patch)
tree27d2348eec099d7774864dbd0a6ab23f1c63cf76
parentsixel: 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).
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index bccd870a..fa929b37 100644
--- a/render.c
+++ b/render.c
@@ -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) {