force client render on mirror show for clients which have not yet been rendered

this is the same mechanism in e_comp_object_dirty() which applies now if a
mirror is created for a previously-dirty client

fix T5937
This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:05 -04:00
parent a188c4751c
commit c7c4470ae0
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,8 @@ _e_comp_object_cb_mirror_show(void *data, Evas *e EINA_UNUSED, Evas_Object *obj
if ((!cw->force_visible) && (!cw->deleted) && (!e_object_is_del(E_OBJECT(cw->ec))))
evas_object_smart_callback_call(cw->smart_obj, "visibility_force", cw->ec);
cw->force_visible++;
if ((!cw->native) && cw->pending_updates && (!cw->update) && cw->real_hid)
e_comp_object_render(cw->smart_obj);
}
static void