summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-06-30 11:45:55 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-06-30 11:47:11 +0900
commit7ea52e1bd8b5be7a4e348f31c670436f0a6a4c53 (patch)
treec68b905e57e3f6cddbdfe957c1eabebbc26e9dc8
parent6980cb2c709ff69133f24549fd9f44fe42993ed4 (diff)
downloadefl-7ea52e1bd8b5be7a4e348f31c670436f0a6a4c53.tar.gz
Evas filters: Force filter redraw if object changed
Somehow I broke this when introducing the eo mixin. This is what broke @cedric's work on the snapshot widget! TODO: Verify that the contents changed, and not just X,Y.
-rw-r--r--src/lib/evas/canvas/evas_filter_mixin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_filter_mixin.c b/src/lib/evas/canvas/evas_filter_mixin.c
index b2433b8209..ffc8dfa08f 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -153,6 +153,12 @@ evas_filter_object_render(Eo *eo_obj, Evas_Object_Protected_Data *obj,
fcow->state.pos);
if (redraw)
DBG("Filter redraw by state change!");
+ else if (obj->changed)
+ {
+ // FIXME: Check that something else than X,Y changed!
+ redraw = EINA_TRUE;
+ DBG("Filter redraw by object content change!");
+ }
// Scan proxies to find if any changed
if (!redraw && fcow->sources)