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.
This commit is contained in:
Jean-Philippe Andre 2015-06-30 11:45:55 +09:00
parent 6980cb2c70
commit 7ea52e1bd8
1 changed files with 6 additions and 0 deletions

View File

@ -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)