kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=7199436ec550729327f3ecf369f4b2b8fc714469

commit 7199436ec550729327f3ecf369f4b2b8fc714469
Author: Kim Woelders <k...@woelders.dk>
Date:   Sat Sep 5 18:09:19 2020 +0200

    CM: Fix switching fadeout to fadein
    
    Happens when mousing over pager with zoom enabled.
---
 src/ecompmgr.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/ecompmgr.c b/src/ecompmgr.c
index 3bc4171e..135f53bc 100644
--- a/src/ecompmgr.c
+++ b/src/ecompmgr.c
@@ -1034,12 +1034,14 @@ ECompMgrWinFade(EObj * eo, unsigned int op_from, 
unsigned int op_to)
 static void
 ECompMgrWinFadeIn(EObj * eo)
 {
-#if DEBUG_OPACITY
    ECmWinInfo         *cw = eo->cmhook;
 
+#if DEBUG_OPACITY
    Eprintf("%s %#x: %u/%u, %#x %#x->%#x\n", __func__, EobjGetXwin(eo),
           eo->fading, cw->fadeout, eo->opacity, 0x10000000, cw->opacity);
 #endif
+   if (eo->fading && cw->fadeout)
+      ECompMgrWinFadeEnd(eo, 0);
    ECompMgrWinFade(eo, 0x10000000, eo->opacity);
 }
 

-- 


Reply via email to