only freeze/thaw edje objects on non-input clients
This commit is contained in:
parent
81e29519c9
commit
424bdf93be
|
@ -1961,8 +1961,11 @@ _e_comp_smart_hide(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (stopping) return;
|
if (stopping) return;
|
||||||
|
if (!cw->ec->input_only)
|
||||||
|
{
|
||||||
edje_object_freeze(cw->effect_obj);
|
edje_object_freeze(cw->effect_obj);
|
||||||
edje_object_freeze(cw->shobj);
|
edje_object_freeze(cw->shobj);
|
||||||
|
}
|
||||||
/* ensure focus-out */
|
/* ensure focus-out */
|
||||||
if (cw->ec->focused)
|
if (cw->ec->focused)
|
||||||
evas_object_focus_set(cw->ec->frame, 0);
|
evas_object_focus_set(cw->ec->frame, 0);
|
||||||
|
@ -1989,8 +1992,11 @@ _e_comp_smart_show(Evas_Object *obj)
|
||||||
|
|
||||||
evas_object_show(cw->clip);
|
evas_object_show(cw->clip);
|
||||||
if (cw->input_obj) evas_object_show(cw->input_obj);
|
if (cw->input_obj) evas_object_show(cw->input_obj);
|
||||||
|
if (!cw->ec->input_only)
|
||||||
|
{
|
||||||
edje_object_thaw(cw->effect_obj);
|
edje_object_thaw(cw->effect_obj);
|
||||||
edje_object_thaw(cw->shobj);
|
edje_object_thaw(cw->shobj);
|
||||||
|
}
|
||||||
evas_object_show(cw->effect_obj);
|
evas_object_show(cw->effect_obj);
|
||||||
if (cw->ec->internal_elm_win && (!evas_object_visible_get(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);
|
evas_object_show(cw->ec->internal_elm_win);
|
||||||
|
|
Loading…
Reference in New Issue