evas: force proxyed objects to stay active so we don't loose update.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jul 2012 08:44:54 +0000 (08:44 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 26 Jul 2012 08:44:54 +0000 (08:44 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@74427 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
NEWS
src/lib/include/evas_inline.x

index 3825164..dbd1dca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
         its children dont change their layer value and pointer with it, thus
         getting layer from them get you the wrong one.
 
+2012-07026  Cedric Bail
+
+       * Keep track of inactive proxied object change so we always update the proxy correctly.
diff --git a/NEWS b/NEWS
index dfe8024..ea0dede 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Fixes:
    * Fix map life cycle.
    * Don't crash when calling evas_object_smart_type_check without type.
    * Handle proxy with the right context.
+   * Force proxied object to stay active to keep track of change in them.
 
 Removal:
    * Remove EVAS_FRAME_QUEUING, EVAS_SLI, METRIC_CACHE and WORD_CACHE.
index 535bb7a..44e24ce 100644 (file)
@@ -169,6 +169,10 @@ evas_object_is_active(Evas_Object *obj)
                return 1;
           }
      }
+   /* FIXME: forcing object with proxies to stay active,
+      need to be smarter and only do that when really needed. */
+   if (obj->proxy.proxies && obj->changed)
+     return 1;
    return 0;
 }