config: use a bitfield for flags tracking whether to use custom colors for CSD or not

This commit is contained in:
Daniel Eklöf 2021-02-06 11:12:22 +01:00
parent e9c3d03837
commit ee1d179b8f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 9 additions and 9 deletions

View file

@ -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;