[access] Fix the widget which uses elm_scroller can be scrolled.
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 17 Apr 2013 13:53:54 +0000 (22:53 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Mon, 27 May 2013 05:03:11 +0000 (14:03 +0900)
Change-Id: I1fae28718f3bf91edeb57415a4c293707f2c560d

src/lib/elm_access.c

index 5228e51..146f5d5 100644 (file)
@@ -503,6 +503,22 @@ _elm_access_highlight_object_scroll(Evas_Object *obj, int type, int x, int y)
                {
                   if(!!evas_object_smart_interface_get(s_parent, ELM_SCROLLABLE_IFACE_NAME))
                     break;
+                  else
+                    {
+                       Eina_List *scr_children, *l;
+                       Evas_Object *child;
+                       Eina_Bool check = EINA_FALSE;
+
+                       scr_children = elm_widget_scrollable_children_get(s_parent);
+                       EINA_LIST_FOREACH(scr_children, l, child)
+                         {
+                            s_parent = child;
+                            check = EINA_TRUE;
+                            break;
+                         }
+                       eina_list_free(scr_children);
+                       if (check) break;
+                    }
                   s_parent = elm_widget_parent_get(s_parent);
                }