From fcbb5a0bf7c6f77eb067fa223b37a792c575df56 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 6 Feb 2021 10:35:48 +0100 Subject: config: use a packed bitfield for “use custom color” flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index d6ad2b24..f8ebb572 100644 --- a/config.h +++ b/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 { -- cgit v1.3