From 3b0113e25218e83e56c2bd442ff1352b053ce499 Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 26 Jul 2012 08:44:54 +0000 Subject: [PATCH] evas: force proxyed objects to stay active so we don't loose update. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@74427 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- ChangeLog | 3 +++ NEWS | 1 + src/lib/include/evas_inline.x | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3825164..dbd1dca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -924,3 +924,6 @@ 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 --- 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. diff --git a/src/lib/include/evas_inline.x b/src/lib/include/evas_inline.x index 535bb7a..44e24ce 100644 --- a/src/lib/include/evas_inline.x +++ b/src/lib/include/evas_inline.x @@ -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; } -- 2.7.4