Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        ecompmgr.c 


Log Message:
Abort fadeout if geometry is changed while unmapped.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/ecompmgr.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -3 -r1.86 -r1.87
--- ecompmgr.c  4 Dec 2005 18:19:58 -0000       1.86
+++ ecompmgr.c  4 Dec 2005 18:30:22 -0000       1.87
@@ -1294,7 +1294,9 @@
 {
    ECmWinInfo         *cw = eo->cmhook;
 
-   D1printf("ECompMgrWinUnmap %#lx\n", eo->win);
+   D1printf("ECompMgrWinUnmap %#lx shown=%d\n", eo->win, eo->shown);
+   if (!eo->shown)             /* Sometimes we get a synthetic one too */
+      return;
 
    if (Conf_compmgr.fading.enable && eo->fade && !eo->gone)
       ECompMgrWinFadeOut(eo);
@@ -1432,7 +1434,11 @@
       return;
 
    if (cw->fadeout)
-      ECompMgrWinFadeOutEnd(eo);
+     {
+       ECompMgrWinFadeCancel(eo);
+       ECompMgrWinFadeOutEnd(eo);
+       cw->fading = 0;
+     }
 
    if (!eo->shown)
      {




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to