From fbe5329ade37c05c8bb3612e222cf48ac8981e76 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sat, 30 Sep 2023 17:48:07 +0200 Subject: [PATCH] cursors: Fix e16 theme cursors The imlib2 context blend parameter is initially set, which could break EImageRenderOnDrawableARGB(), breaking the e16 theme cursors. Broken in 1.0.28 (by 1cef4a1044086c1c559e6ab866284e5de5ae0a52). --- src/eimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/eimage.c b/src/eimage.c index 578db8b7..b0c7c6c5 100644 --- a/src/eimage.c +++ b/src/eimage.c @@ -54,6 +54,7 @@ EImageInit(void) imlib_context_set_mask_alpha_threshold(Conf.testing.mask_alpha_threshold); #endif + imlib_context_set_blend(0); imlib_context_set_anti_alias(0); imlib_context_set_dither(1); }