Don't sync background color with foreground one.

This commit is contained in:
LemonBoy 2012-07-25 22:57:51 +02:00
parent 6c3b81602b
commit f089d43a46

2
bar.c
View File

@ -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, clear_gc , XCB_GC_FOREGROUND, (const unsigned []){ palette[i] });
xcb_change_gc (c, underl_gc, XCB_GC_FOREGROUND, (const unsigned []){ palette[i] });
}
void
@ -83,6 +82,7 @@ draw_char (int x, int align, wchar_t ch)
sel_font->table[ch - sel_font->char_min].character_width :
0;
if (ch_width == 0)
return 0;