From b3e1d00b2fd65fa216e96f843a464a2bfa741b1d Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Thu, 26 Jul 2012 08:44:54 +0000 Subject: [PATCH] evas: force proxyed objects to stay active so we don't loose update. SVN revision: 74427 --- legacy/evas/ChangeLog | 3 +++ legacy/evas/NEWS | 1 + legacy/evas/src/lib/include/evas_inline.x | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/legacy/evas/ChangeLog b/legacy/evas/ChangeLog index 3825164ce0..dbd1dcad82 100644 --- a/legacy/evas/ChangeLog +++ b/legacy/evas/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/legacy/evas/NEWS b/legacy/evas/NEWS index dfe8024952..ea0dede6bc 100644 --- a/legacy/evas/NEWS +++ b/legacy/evas/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/legacy/evas/src/lib/include/evas_inline.x b/legacy/evas/src/lib/include/evas_inline.x index 535bb7af90..44e24cea65 100644 --- a/legacy/evas/src/lib/include/evas_inline.x +++ b/legacy/evas/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; }