atspi: fix infinite loop issue
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 13 Dec 2017 09:13:16 +0000 (14:43 +0530)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:34:07 +0000 (22:34 +0900)
commitea9795ec941b411ab12ec05b9c91df547c52792d
treeb94bba721a8184a23ea900f8b01fcab8e8d7ee15
parentc4bdac9e5d8b404c01ba06f754d5438d63f4c11a
atspi: fix infinite loop issue

It is possilbe to get a target object as a return value of
get_object_at_point. In this case _elm_widget_elm_interface_atspi_component_accessible_at_point_get
works again with the target which is same with root object.

[Enhanced]
- We do not have to go parent if the bottom up logic meets root object.
- Visiblity of panel is always true. So we are checking its SHOWING state.
  If the panel is not SHOWING, remove it from valid children list.

orignal patch: 680532bd4dff4ca12f9ec0958fcb65ac67a89256

@tizen_fix

Change-Id: I9b18a6fda915f4958c3b965454c6bb2ba9663fa6
src/lib/elementary/elm_atspi_bridge.c
src/lib/elementary/elm_widget.c