e17/comp: dont run into infinite loop on show_ready when hidden_override is set

SVN revision: 57672
This commit is contained in:
Hannes Janetzek 2011-03-10 15:14:14 +00:00
parent fa53c967b7
commit 8caac494bd
1 changed files with 6 additions and 2 deletions

View File

@ -674,10 +674,14 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
if (/*(!cw->update) &&*/(cw->visible) && (cw->dmg_updates >= 1) &&
(cw->show_ready))
{
if (!evas_object_visible_get(cw->shobj))
if (cw->hidden_override)
{
edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
}
else if (!evas_object_visible_get(cw->shobj))
{
// printf(" real show %x\n", cw->win);
if (!cw->hidden_override) evas_object_show(cw->shobj);
evas_object_show(cw->shobj);
edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
if (!cw->animating) cw->c->animating++;
_e_mod_comp_win_render_queue(cw);