Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/iconbar

Dir     : e17/apps/iconbar/src


Modified Files:
        main.c 


Log Message:
update so the trans_bg isn't even created(or refreshed on resize/move) if
the user is using shaped windows.


===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/iconbar/src/main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- main.c      20 Jan 2004 03:35:18 -0000      1.16
+++ main.c      20 Jan 2004 03:51:49 -0000      1.17
@@ -60,16 +60,18 @@
   iconbar_config_ecore_evas_set(ee);
 #ifdef HAVE_TRANS_BG
   {
-    ecore_evas_geometry_get(ee, &x, &y, &w, &h);
-    o = esmart_trans_x11_new(ecore_evas_get(ee));
-    evas_object_layer_set(o, 0);
-    evas_object_move(o, 0, 0);
-    evas_object_resize(o, w, h);
-    evas_object_name_set(o, "trans");
+    if(!iconbar_config_shaped_get())
+    {
+       ecore_evas_geometry_get(ee, &x, &y, &w, &h);
+       o = esmart_trans_x11_new(ecore_evas_get(ee));
+       evas_object_layer_set(o, 0);
+       evas_object_move(o, 0, 0);
+       evas_object_resize(o, w, h);
+       evas_object_name_set(o, "trans");
     
-    esmart_trans_x11_freshen(o, x, y, w, h);
-    if (!iconbar_config_shaped_get())
-      evas_object_show(o);
+       esmart_trans_x11_freshen(o, x, y, w, h);
+       evas_object_show(o);
+    }
   }
 #endif
 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to