From 28868767e6ea74f1e758686e6ae5d58918bd1627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Tue, 16 Jul 2019 19:18:13 +0200 Subject: Use normal win colors in fullscreen mode Fixes issues #361 and #367 --- image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image.c') 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); } -- cgit v1.2.3