From d4b9d101777aae1b3400b2bacd9ebf9e83c677d8 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 22 Jan 2007 12:44:57 +0000 Subject: [PATCH] 1. fixed some inefficient edje loading - moved checks to the cache code where it sould be 2. fixed edje handling of delete of objects so we don't lose clip info if we move a swallowed object out 3. fix up norender stuff for evas a bit 4. pants. 5. coogee beach (sydney) in summer right now is beatiful - KICK ASS! SVN revision: 28102 --- src/bin/e_bg.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c index 0075b79d6..475e3a421 100644 --- a/src/bin/e_bg.c +++ b/src/bin/e_bg.c @@ -22,11 +22,11 @@ e_bg_init(void) for (l = e_config->desktop_backgrounds; l; l = l->next) { - E_Config_Desktop_Background *cfbg; - cfbg = l->data; - e_filereg_register(cfbg->file); + E_Config_Desktop_Background *cfbg; + cfbg = l->data; + e_filereg_register(cfbg->file); } - + E_EVENT_BG_UPDATE = ecore_event_type_new(); return 1; } @@ -350,7 +350,17 @@ _e_bg_signal(void *data, Evas_Object *obj, const char *emission, const char *sou evas_object_move(zone->bg_object, zone->x, zone->y); evas_object_resize(zone->bg_object, zone->w, zone->h); evas_object_layer_set(zone->bg_object, -1); +/// printf("CLIP...\n"); evas_object_clip_set(zone->bg_object, zone->bg_clip_object); + { + Evas_Coord x, y, w, h; + + evas_object_geometry_get(zone->bg_clip_object, &x, &y, &w, &h); +/// printf("END: clip %p to %p [%ix%i+%i+%i]\n", +/// zone->bg_object, +/// zone->bg_clip_object, +/// w, h, x, y); + } evas_object_show(zone->bg_object); }