atspi: fix bug of finding the last object 82/136882/2
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 30 Jun 2017 09:15:29 +0000 (18:15 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Tue, 4 Jul 2017 05:12:36 +0000 (05:12 +0000)
commitffe7e1ac79adaad45002e038d217d13b6710bcda
treeda0728c3d4e59239fa02893555bcd4461e723303
parentf547f9172832cc6ee0c9b8e89498cec7113ab696
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