only change internal win visibility on comp obj show if win not already visible

This commit is contained in:
Mike Blumenkrantz 2014-11-22 12:46:50 -05:00
parent de792341fb
commit ce49f2a1f0
1 changed files with 1 additions and 3 deletions

View File

@ -1931,8 +1931,6 @@ _e_comp_smart_hide(Evas_Object *obj)
evas_object_hide(cw->clip);
if (cw->input_obj) evas_object_hide(cw->input_obj);
evas_object_hide(cw->effect_obj);
if (cw->ec->internal_elm_win)
evas_object_hide(cw->ec->internal_elm_win);
if (stopping) return;
/* ensure focus-out */
if (cw->ec->focused)
@ -1961,7 +1959,7 @@ _e_comp_smart_show(Evas_Object *obj)
evas_object_show(cw->clip);
if (cw->input_obj) evas_object_show(cw->input_obj);
evas_object_show(cw->effect_obj);
if (cw->ec->internal_elm_win)
if (cw->ec->internal_elm_win && (!evas_object_visible_get(cw->ec->internal_elm_win)))
evas_object_show(cw->ec->internal_elm_win);
e_comp_render_queue(cw->comp);
e_comp_shape_queue(cw->comp);