Enlightenment CVS committal

Author  : xcomputerman
Project : e_modules
Module  : bling

Dir     : e_modules/bling


Modified Files:
        compmgr.c 


Log Message:
Don't shadow shaped clients.

===================================================================
RCS file: /cvs/e/e_modules/bling/compmgr.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- compmgr.c   25 Jun 2006 05:56:34 -0000      1.6
+++ compmgr.c   26 Jun 2006 02:34:09 -0000      1.7
@@ -710,12 +710,20 @@
 composite_win_extents(Win * w)
 {
    Ecore_X_Rectangle r;
+   E_Border *bd = NULL;
+   Bool needs_shadow = True;
 
+   /* Don't shadow shaped clients (until we have a function that
+    * can compute shaped shadows) */
+   bd = e_border_find_by_window(w->id);
+   if (bd && bd->client.shaped)
+      needs_shadow = False;
+   
    r.x = w->a.x;
    r.y = w->a.y;
    r.width = w->a.w + w->a.border * 2;
    r.height = w->a.h + w->a.border * 2;
-   if (compMode != CompSimple && w->shadowSize > 0
+   if (compMode != CompSimple && w->shadowSize > 0 && needs_shadow
        && !(w->windowType == ECORE_X_WINDOW_TYPE_DOCK
             && !(config->shadow_dock_enable)))
    {



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to