Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ecompmgr.c 


Log Message:
Fix incorrect fading termination in certain situations.

===================================================================
RCS file: /cvs/e/e16/e/src/ecompmgr.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -3 -r1.143 -r1.144
--- ecompmgr.c  7 Apr 2007 14:24:29 -0000       1.143
+++ ecompmgr.c  8 Apr 2007 19:30:47 -0000       1.144
@@ -1292,8 +1292,12 @@
 {
    ECmWinInfo         *cw = eo->cmhook;
 
-   if (op_from == op_to && op_from == eo->opacity)
-      return;
+   if (op_from == op_to && op_to == eo->opacity)
+     {
+       if (cw->fading)
+          ECompMgrWinFadeEnd(eo, 0);
+       return;
+     }
 
    if (!cw->anim_fade)
       cw->anim_fade = AnimatorAdd(doECompMgrWinFade, eo);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to