Enlightenment CVS committal

Author  : moom
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        main.c 


Log Message:
* Resize the background when the window is resized


===================================================================
RCS file: /cvs/e/e17/apps/entrance/src/client/main.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- main.c      13 May 2006 05:29:22 -0000      1.78
+++ main.c      13 May 2006 08:21:18 -0000      1.79
@@ -139,14 +139,14 @@
 window_resize_cb(Ecore_Evas * ee)
 {
    Evas_Object *o = NULL;
+   int w, h;
 
+   ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
+   
    if ((o = evas_object_name_find(ecore_evas_get(ee), "ui")))
-   {
-      int w, h;
-
-      ecore_evas_geometry_get(ee, NULL, NULL, &w, &h);
       evas_object_resize(o, w, h);
-   }
+   if ((o = evas_object_name_find(ecore_evas_get(ee), "background")))
+      evas_object_resize(o, w, h);
 }
 
 /**




-------------------------------------------------------
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