diff options
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -210,6 +210,9 @@ void img_render(img_t *img, win_t *win) { imlib_context_set_image(img->im); else imlib_context_set_image(im_broken); + + if (imlib_image_has_alpha()) + win_draw_rect(win, win->pm, dx, dy, dw, dh, True, 0, win->white); imlib_context_set_drawable(win->pm); imlib_render_image_part_on_drawable_at_size(sx, sy, sw, sh, dx, dy, dw, dh); |