aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 11:27:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 13:48:05 +0900
commit94d671c9715fef600c515bb1ae38bfb884d0bb82 (patch)
treeb08fee70cc47a702a478223503f9d2a74caa1b4f /src/lib/elementary/efl_ui_win.c
parentwidget: Mark old focus API as beta. (diff)
downloadefl-94d671c9715fef600c515bb1ae38bfb884d0bb82.tar.gz
widget: Fix legacy for focus_mouse_up_handle (EO)
This removes the special code in the legacy API for elm_widget_focus_mouse_up_handle. Add an internal helper to find the first widget parent. And mark as protected. Apparently this functions is still required for the new focus manager. Ref https://phab.enlightenment.org/T5363
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 82b5636fb6..ce5986c645 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2726,7 +2726,7 @@ _win_img_mouse_up(void *data,
{
Evas_Event_Mouse_Up *ev = event_info;
if (!(ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD))
- elm_widget_focus_mouse_up_handle(data);
+ elm_widget_focus_mouse_up_handle(evas_object_widget_parent_find(data));
}
static void