aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-10 18:29:24 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-09-10 18:29:24 +0900
commitbe2ae5f410f7e2832536e6b6cc431cf169d94798 (patch)
treed38ec6b3f498c5c0085e7bcfa3ebd7db076fba15 /legacy/elementary/src/lib/elm_win.c
parentcalendar: fix signal process timing issue when view update. (diff)
downloadefl-be2ae5f410f7e2832536e6b6cc431cf169d94798.tar.gz
elm autofocus show - fix cases where focus is inside containers
i found that the focus doesnt auto-show when focusing things inside scrollers and so on. i had to add more points to trigger auto show. this fixes that @fix
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index e75ee1d02c..453bb2f317 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -1507,10 +1507,8 @@ static Eina_Bool
_key_action_move(Evas_Object *obj, const char *params)
{
const char *dir = params;
- Evas_Object *top;
- top = elm_widget_top_get(obj);
- if (top && eo_isa(top, ELM_WIN_CLASS)) _elm_win_focus_auto_show(top);
+ _elm_widget_focus_auto_show(obj);
if (!strcmp(dir, "previous"))
elm_widget_focus_cycle(obj, ELM_FOCUS_PREVIOUS);
else if (!strcmp(dir, "next"))