From c280129cef4ff2e8667b8700c9bdf671fdd7c8ef Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 6 Aug 2016 15:27:58 +0200 Subject: Use Xft for font loading and text drawing --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image.c') diff --git a/image.c b/image.c index 9350ab1..ebd522d 100644 --- a/image.c +++ b/image.c @@ -485,7 +485,7 @@ void img_render(img_t *img) } imlib_image_put_back_data(data); } else { - c = win->fullscreen ? win->fscol : win->bgcol; + c = win->fullscreen ? win->fscol.pixel : win->bgcol.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