atspi: fix infinite loop issue 43/151143/2
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 20 Sep 2017 04:14:27 +0000 (13:14 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 21 Sep 2017 12:53:01 +0000 (21:53 +0900)
commit680532bd4dff4ca12f9ec0958fcb65ac67a89256
treeb7f086a7dd68d776478b67083cd24a28697137ad
parentb785bbf9c8d8240addfb5b04dca6efc8f895adf8
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.

Change-Id: I2edeefdc9a0c5955f1c28926321b74424c71bc40
src/lib/elm_atspi_bridge.c
src/lib/elm_widget.c