Don't sync background color with foreground one.
This commit is contained in:
parent
6c3b81602b
commit
f089d43a46
2
bar.c
2
bar.c
|
@ -46,7 +46,6 @@ xcb_set_bg (int i)
|
||||||
{
|
{
|
||||||
xcb_change_gc (c, draw_gc , XCB_GC_BACKGROUND, (const unsigned []){ palette[i] });
|
xcb_change_gc (c, draw_gc , XCB_GC_BACKGROUND, (const unsigned []){ palette[i] });
|
||||||
xcb_change_gc (c, clear_gc , XCB_GC_FOREGROUND, (const unsigned []){ palette[i] });
|
xcb_change_gc (c, clear_gc , XCB_GC_FOREGROUND, (const unsigned []){ palette[i] });
|
||||||
xcb_change_gc (c, underl_gc, XCB_GC_FOREGROUND, (const unsigned []){ palette[i] });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -83,6 +82,7 @@ draw_char (int x, int align, wchar_t ch)
|
||||||
sel_font->table[ch - sel_font->char_min].character_width :
|
sel_font->table[ch - sel_font->char_min].character_width :
|
||||||
0;
|
0;
|
||||||
|
|
||||||
|
|
||||||
if (ch_width == 0)
|
if (ch_width == 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user