forked from enlightenment/enlightenment
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) SVN revision: 15667
This commit is contained in:
parent
51e72668af
commit
2946f2d71f
|
@ -101,7 +101,8 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue