From 8c99915608beee03eca3bae6ed92264a0da87e2f Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Sat, 22 Oct 2016 16:36:10 +0200 Subject: Do not use color when font attributes are supported If fontconfig gives us a font without the attributes we asked for, display an alternative color instead. --- config.def.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index c2e4ffd..7f465d1 100644 --- a/config.def.h +++ b/config.def.h @@ -138,12 +138,10 @@ static unsigned int mousefg = 7; static unsigned int mousebg = 0; /* - * Colors used, when the specific fg == defaultfg. So in reverse mode this - * will reverse too. Another logic would only make the simple feature too - * complex. + * Color used to display font attributes when fontconfig selected a font which + * doesn't match the ones requested. */ -static unsigned int defaultitalic = 11; -static unsigned int defaultunderline = 7; +static unsigned int defaultattr = 11; /* * Internal mouse shortcuts. -- cgit v1.2.1