diff options
author | Quentin Rameau <quinq@fifth.space> | 2016-10-22 16:36:10 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2016-10-23 17:56:46 +0200 |
commit | 8c99915608beee03eca3bae6ed92264a0da87e2f (patch) | |
tree | 4015d54adca3c9480c2c2f7459d85272c4c96013 /config.def.h | |
parent | 7854fde1ff95ba85239ccfe1b59b555bd245d0db (diff) | |
download | st-patched-8c99915608beee03eca3bae6ed92264a0da87e2f.tar.bz2 st-patched-8c99915608beee03eca3bae6ed92264a0da87e2f.tar.xz st-patched-8c99915608beee03eca3bae6ed92264a0da87e2f.zip |
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.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 8 |
1 files changed, 3 insertions, 5 deletions
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; | |||
138 | static unsigned int mousebg = 0; | 138 | static unsigned int mousebg = 0; |
139 | 139 | ||
140 | /* | 140 | /* |
141 | * Colors used, when the specific fg == defaultfg. So in reverse mode this | 141 | * Color used to display font attributes when fontconfig selected a font which |
142 | * will reverse too. Another logic would only make the simple feature too | 142 | * doesn't match the ones requested. |
143 | * complex. | ||
144 | */ | 143 | */ |
145 | static unsigned int defaultitalic = 11; | 144 | static unsigned int defaultattr = 11; |
146 | static unsigned int defaultunderline = 7; | ||
147 | 145 | ||
148 | /* | 146 | /* |
149 | * Internal mouse shortcuts. | 147 | * Internal mouse shortcuts. |