e17/comp: dont set visible until !cw->hidden_override.

trying to fix an infinite loop in when new window is added that is directly set to cw->hidden_override


SVN revision: 57689
This commit is contained in:
Hannes Janetzek 2011-03-11 12:15:41 +00:00
parent 3f610a161e
commit c48f99a609
1 changed files with 2 additions and 6 deletions

View File

@ -672,13 +672,9 @@ _e_mod_comp_win_update(E_Comp_Win *cw)
// printf("==== up %x | %i %i %i %i\n", cw->win, cw->update, cw->visible, cw->dmg_updates, cw->show_ready);
// FIXME: below cw update check screws with show
if (/*(!cw->update) &&*/(cw->visible) && (cw->dmg_updates >= 1) &&
(cw->show_ready))
(cw->show_ready) && (!cw->hidden_override))
{
if (cw->hidden_override)
{
edje_object_signal_emit(cw->shobj, "e,state,visible,on", "e");
}
else if (!evas_object_visible_get(cw->shobj))
if (!evas_object_visible_get(cw->shobj))
{
// printf(" real show %x\n", cw->win);
evas_object_show(cw->shobj);