From 510878ddda6fb712a827bcb82bb09479756b6c6f Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Fri, 12 Apr 2019 20:04:29 +0900 Subject: [PATCH] efl_ui_widget: _on_sub_obj_hide callback should be called when object is hidden. Change-Id: I2802dba654060e3a228e4a0baa6b73f30adfb887 --- src/lib/elementary/efl_ui_widget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c index b0e3bab..b198ff2 100644 --- a/src/lib/elementary/efl_ui_widget.c +++ b/src/lib/elementary/efl_ui_widget.c @@ -691,7 +691,9 @@ _parents_unfocus(Evas_Object *obj) static void _on_sub_obj_hide(void *data EINA_UNUSED, const Efl_Event *event) { - efl_ui_widget_focus_hide_handle(event->object); + Eina_Bool *visible = event->info; + if ((*visible) == EINA_FALSE) + efl_ui_widget_focus_hide_handle(event->object); } // static void -- 2.7.4