diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-30 11:45:55 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2015-06-30 11:47:11 +0900 |
commit | 7ea52e1bd8b5be7a4e348f31c670436f0a6a4c53 (patch) | |
tree | c68b905e57e3f6cddbdfe957c1eabebbc26e9dc8 | |
parent | 6980cb2c709ff69133f24549fd9f44fe42993ed4 (diff) | |
download | efl-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.c | 6 |
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) |