From f7557c55b5a87a51daba825ed3f6155eed179221 Mon Sep 17 00:00:00 2001 From: Guilherme Freire <41879254+GRFreire@users.noreply.github.com> Date: Sat, 11 Sep 2021 11:38:22 -0300 Subject: Custom bar colors (#10) * set bar and text colors independently * change xresources to Program.class.resource * rename color variables to win/bar_bg/fg * change default bar colors to match window colors --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image.c') diff --git a/image.c b/image.c index 2c6852f..9d76d46 100644 --- a/image.c +++ b/image.c @@ -500,7 +500,7 @@ void img_render(img_t *img) } imlib_image_put_back_data(data); } else { - c = win->bg.pixel; + c = win->win_bg.pixel; imlib_context_set_color(c >> 16 & 0xFF, c >> 8 & 0xFF, c & 0xFF, 0xFF); imlib_image_fill_rectangle(0, 0, dw, dh); } -- cgit v1.2.3-54-g00ecf