elm: access: Improves how to find the can_highlight of the widget.
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 13 Dec 2017 08:21:56 +0000 (13:51 +0530)
committerJiyoun Park <jy0703.park@samsung.com>
Thu, 21 Dec 2017 13:30:52 +0000 (22:30 +0900)
commitd0dc7539c7b1cdb36aafe7dedf2af353ef47b2b9
tree914dae0ea914ac7d3fd2ca695220aa9b3fca16bc
parent0d14a4b739f4405a2d81f93363cca5ad610d5b43
elm: access: Improves how to find the can_highlight of the widget.
Returns EINA_FALSE if any of parents is EINA_FALSE when determining can_highlight.
To determine can_highlight for the parent of an object,
we try to find the parent of the parent again.
As it repeats, it traverses as much as depth size factorial (d!) However,
if any of the parent of the object has can_highlight of the widget
data is EINA_FALSE, it is eventually EINA_FALSE

orig:
366d904cb45a7c7dd6202c16ec19d73b8784e8e6
2212fffb35af18498d53f0da894218ba59f8c8ca

Change-Id: I5ad0cc5c36f017dbbc6f07a05919a3b95aaa513c
Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
src/lib/elementary/elm_widget.c