mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
config: use a packed bitfield for “use custom color” flags
This commit is contained in:
parent
0d17fd6a5d
commit
fcbb5a0bf7
3 changed files with 9 additions and 4 deletions
2
render.c
2
render.c
|
|
@ -412,7 +412,7 @@ render_cell(struct terminal *term, pixman_image_t *pix,
|
|||
uint32_t _fg = 0;
|
||||
uint32_t _bg = 0;
|
||||
|
||||
if (is_selected && term->conf->colors.selection_uses_custom_colors) {
|
||||
if (is_selected && term->conf->colors.use_custom.selection) {
|
||||
_fg = term->conf->colors.selection_fg;
|
||||
_bg = term->conf->colors.selection_bg;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue