diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-06 09:35:48 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:33 +0000 |
| commit | fcbb5a0bf7c6f77eb067fa223b37a792c575df56 (patch) | |
| tree | 28f635a548668fc6f299e086278caaf9743a3773 /config.h | |
| parent | foot.ini: fix default values for csd.button-*-color (diff) | |
config: use a packed bitfield for “use custom color” flags
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |
