summaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2019-01-23 21:18:12 +0100
committerBert Münnich <ber.t@posteo.de>2019-01-23 21:21:15 +0100
commit919ada11232781e3624363d834a6b9851c3a2bcb (patch)
tree517183d4f22c0047ff9841b0c42e30fc6312924b /image.c
parent9d244da5124bf13046a4f9606b616ab1d8244e0e (diff)
downloadnsxiv-919ada11232781e3624363d834a6b9851c3a2bcb.tar.zst
Align compile-time color options with X resource colors
Two colors are more than enough!
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 1230750..94cfc2d 100644
--- a/image.c
+++ b/image.c
@@ -497,7 +497,7 @@ void img_render(img_t *img)
}
imlib_image_put_back_data(data);
} else {
- c = win->fullscreen ? win->fscol.pixel : win->bgcol.pixel;
+ c = win->fullscreen ? win->black.pixel : win->bg.pixel;
imlib_context_set_color(c >> 16 & 0xFF, c >> 8 & 0xFF, c & 0xFF, 0xFF);
imlib_image_fill_rectangle(0, 0, dw, dh);
}