summaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2019-07-16 19:18:13 +0200
committerBert Münnich <ber.t@posteo.de>2019-07-16 19:18:13 +0200
commit28868767e6ea74f1e758686e6ae5d58918bd1627 (patch)
treea4b23a809509e2bc674a37b01f47c78dbcc05cc2 /image.c
parent6511d681ac5e5306d9afc0e7b3a60d21a9614664 (diff)
downloadnsxiv-28868767e6ea74f1e758686e6ae5d58918bd1627.tar.zst
Use normal win colors in fullscreen mode
Fixes issues #361 and #367
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 94cfc2d..9a9c531 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->black.pixel : win->bg.pixel;
+ c = win->bg.pixel;
imlib_context_set_color(c >> 16 & 0xFF, c >> 8 & 0xFF, c & 0xFF, 0xFF);
imlib_image_fill_rectangle(0, 0, dw, dh);
}