atspi: fix infinite loop issue 43/153843/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 20 Sep 2017 04:14:27 +0000 (13:14 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Sat, 30 Sep 2017 08:46:41 +0000 (17:46 +0900)
commit846efd633b0107db7153882dd7df4d05a5e3c9ce
treeaed967a9e0f781622247ba228d50dcaa71645804
parent40eac24b1856561543851860afaeec628446e744
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