mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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).
This commit is contained in:
parent
0dddb5d119
commit
f434933824
1 changed files with 1 additions and 1 deletions
2
render.c
2
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue