mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
config: use a bitfield for flags tracking whether to use custom colors for CSD or not
This commit is contained in:
parent
e9c3d03837
commit
ee1d179b8f
2 changed files with 9 additions and 9 deletions
8
config.h
8
config.h
|
|
@ -192,10 +192,10 @@ struct config {
|
|||
int button_width;
|
||||
|
||||
struct {
|
||||
bool title_set;
|
||||
bool minimize_set;
|
||||
bool maximize_set;
|
||||
bool close_set;
|
||||
bool title_set:1;
|
||||
bool minimize_set:1;
|
||||
bool maximize_set:1;
|
||||
bool close_set:1;
|
||||
uint32_t title;
|
||||
uint32_t minimize;
|
||||
uint32_t maximize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue