From b179c1d82ea0664f5290f600935b170451277a45 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 14 Aug 2014 15:27:31 +0900 Subject: [PATCH] evas/proxy: When src object has no proxies, redraw flag is set for EINA_FALSE. [Problem] When obj which has src object(proxy concept) are excluded from render_object, src object's 'proxy.redraw' isn't change although src obj have not proxies. because 'proxy.redraw' flag is changed to EINA_FALSE only in obj's subrender() called. [Resolution] When the count of source obj's proxies is 0, src obj's 'proxy.redraw' is set for EINA_FALSE. Signed-Off-By: Min Kyoung Kim --- AUTHORS | 1 + src/lib/evas/canvas/evas_object_image.c | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index 000723eb40..3257e37394 100644 --- a/AUTHORS +++ b/AUTHORS @@ -131,6 +131,7 @@ Jean-Philippe Andre Yury Usischev Youngbok Shin Rajeev Ranjan (Rajeev) +MinKyoung Kim Ecore ----- diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c index 7788d70fd8..fcd7610c1d 100644 --- a/src/lib/evas/canvas/evas_object_image.c +++ b/src/lib/evas/canvas/evas_object_image.c @@ -2261,6 +2261,7 @@ _proxy_unset(Evas_Object *proxy, Evas_Object_Protected_Data *cur_proxy, Evas_Ima cur_proxy->layer->evas->engine.func->image_map_surface_free(cur_proxy->layer->evas->engine.data.output, proxy_source_write->surface); proxy_source_write->surface = NULL; + proxy_source_write->redraw = EINA_FALSE; } if (proxy_source_write->src_invisible)