aboutsummaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2016-08-06 15:27:58 +0200
committerBert Münnich <ber.t@posteo.de>2016-08-06 15:27:58 +0200
commitc280129cef4ff2e8667b8700c9bdf671fdd7c8ef (patch)
treef440d93fe935f2e68bb0460927097130160f97f0 /image.c
parentaabc2bddbdeecdb2651394d90b10a9290a69b527 (diff)
Use Xft for font loading and text drawing
Diffstat (limited to 'image.c')
-rw-r--r--image.c2
1 files changed, 1 insertions, 1 deletions
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);
}