Adding bold-is-not-bright patch
This commit is contained in:
parent
5d336c2796
commit
9aefe8e4f7
3 changed files with 15 additions and 3 deletions
2
x.c
2
x.c
|
|
@ -1383,9 +1383,11 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
|||
bg = &dc.col[base.bg];
|
||||
}
|
||||
|
||||
#if !BOLD_IS_NOT_BRIGHT_PATCH
|
||||
/* Change basic system colors [0-7] to bright system colors [8-15] */
|
||||
if ((base.mode & ATTR_BOLD_FAINT) == ATTR_BOLD && BETWEEN(base.fg, 0, 7))
|
||||
fg = &dc.col[base.fg + 8];
|
||||
#endif // BOLD_IS_NOT_BRIGHT_PATCH
|
||||
|
||||
if (IS_SET(MODE_REVERSE)) {
|
||||
if (fg == &dc.col[defaultfg]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue