Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_bg.c 


Log Message:


if the bg didn't change, keep the original desktop object instead of
creating a new one and deleting the old. (this prevents bg's with an initial
animation -- ala tokyo's detour bg -- from replaying the ani every desk
switch)

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_bg.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_bg.c      30 Jun 2005 14:35:18 -0000      1.4
+++ e_bg.c      8 Jul 2005 04:33:02 -0000       1.5
@@ -101,7 +101,8 @@
        if ((pfile) && (file) && (!strcmp(pfile, file)) &&
            (pgroup) && (group) && (!strcmp(pgroup, group)))
          {
-            evas_object_del(zone->prev_bg_object);
+            evas_object_del(zone->bg_object);
+            zone->bg_object = zone->prev_bg_object;
             zone->prev_bg_object = NULL;
             return;
          }




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to