Enlightenment CVS committal

Author  : morlenxus
Project : e_modules
Module  : bling

Dir     : e_modules/bling


Modified Files:
        compmgr.c 


Log Message:
Fix problem with desk change animation (pane/zoom) and window fade out 
animation:
When the windows slide animation was finished, they faded out on current 
desktop.

===================================================================
RCS file: /cvs/e/e_modules/bling/compmgr.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- compmgr.c   25 Dec 2007 00:09:51 -0000      1.13
+++ compmgr.c   29 Mar 2008 10:30:23 -0000      1.14
@@ -1,4 +1,8 @@
 /*
+ * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
+ */
+
+/*
  * Copyright © 2003 Keith Packard
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -1224,7 +1228,11 @@
    }     
       
 #if HAS_NAME_WINDOW_PIXMAP
-   if (w->pixmap && fade && config->fx_fade_enable)
+   E_Border *bd;
+   bd = e_border_find_by_window(id);
+
+   if ((!bd || (bd && !bd->fx.start.x && !bd->fx.start.y)) &&
+       w->pixmap && fade && config->fx_fade_enable)
       composite_fade_set(w, w->opacity * 1.0 / OPAQUE, 0.0,
                config->fx_fade_out_step, unmap_callback, False, False, True);
    else



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to