diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-10-17 00:00:46 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 18:00:46 +0000 |
commit | 7b37a6272f9ec2a62ffc91531b1655bdf5753d60 (patch) | |
tree | ed473e2fd7ffda236c648a17ddd5ce3f39ca3176 | |
parent | 12efa0e3b429675047cb2900d49e1f38afeb650b (diff) |
Revert "Fix in tabbed with alpha patch (#3)" (#121)
This reverts commit c7ca547b55e98914264351502e581fe6ae17ae15.
cd710f5 fixed the issue with embedding into a parent that has alpha and
partially reverted c7ca547
this commit fully reverts c7ca547 , as these changes aren't needed for
embedding into an alpha-parent.
-rw-r--r-- | image.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -627,7 +627,7 @@ void img_render(img_t *img) if ((bg = imlib_create_image(dw, dh)) == NULL) error(EXIT_FAILURE, ENOMEM, NULL); imlib_context_set_image(bg); - imlib_image_set_has_alpha(1); + imlib_image_set_has_alpha(0); if (img->alpha) { int i, c, r; @@ -655,7 +655,6 @@ void img_render(img_t *img) imlib_free_image(); imlib_context_set_color_modifier(img->cmod); } else { - imlib_image_set_has_alpha(1); imlib_render_image_part_on_drawable_at_size(sx, sy, sw, sh, dx, dy, dw, dh); } img->dirty = false; |