mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-01 01:40:13 -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
5
config.h
5
config.h
|
|
@ -139,7 +139,10 @@ struct config {
|
|||
uint16_t alpha;
|
||||
uint32_t selection_fg;
|
||||
uint32_t selection_bg;
|
||||
bool selection_uses_custom_colors;
|
||||
|
||||
struct {
|
||||
bool selection:1;
|
||||
} use_custom;
|
||||
} colors;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue