atspi: fix bug of finding the last object 93/136593/3 accepted/tizen/3.0/common/20170712.072408 accepted/tizen/3.0/ivi/20170711.222151 accepted/tizen/3.0/mobile/20170711.222042 accepted/tizen/3.0/tv/20170711.222109 accepted/tizen/3.0/wearable/20170711.222123 submit/tizen_3.0/20170705.022822
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 30 Jun 2017 09:15:29 +0000 (18:15 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 4 Jul 2017 05:10:07 +0000 (05:10 +0000)
commit2bfed17f1f2e730055340e0c8bb5bb759c02e966
treed3dfcb36e3be386bcbb28af71d650059aec304f9
parent41472c4d5e036df12b363ffec80453b7f2d3974e
atspi: fix bug of finding the last object

The last object can be found only if all_children_visited is false.
The start is same with root, when looking for the last object.

The first object can be found already, even though the start is same with root.
Because the forwarding navigation can visit its children.

Change-Id: I763994505d5b2b21ee8aa459b39c08512a34a279
src/lib/elm_atspi_bridge.c