Correct color management for pango fonts
Corrects the cases where the colorpixel is not 0xRRGGBB : we have to use the full color_t struct to describe font colors, as Pango expects RGB values and not an XCB colorpixel value.
This commit is contained in:
@ -133,7 +133,7 @@ static void update_placeholder_contents(placeholder_state *state) {
|
||||
xcb_flush(restore_conn);
|
||||
xcb_aux_sync(restore_conn);
|
||||
|
||||
set_font_colors(state->gc, config.client.placeholder.text.colorpixel, config.client.placeholder.background.colorpixel);
|
||||
set_font_colors(state->gc, config.client.placeholder.text, config.client.placeholder.background);
|
||||
|
||||
Match *swallows;
|
||||
int n = 0;
|
||||
|
Reference in New Issue
Block a user