diff options
author | Bert Münnich <ber.t@posteo.de> | 2019-07-16 19:18:13 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2019-07-16 19:18:13 +0200 |
commit | 28868767e6ea74f1e758686e6ae5d58918bd1627 (patch) | |
tree | a4b23a809509e2bc674a37b01f47c78dbcc05cc2 /image.c | |
parent | 6511d681ac5e5306d9afc0e7b3a60d21a9614664 (diff) |
Use normal win colors in fullscreen mode
Fixes issues #361 and #367
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |