elm_widget: update child object focus_order.
authorUmesh Tanwar <umesh.tanwar@samsung.com>
Fri, 18 Mar 2016 18:56:59 +0000 (11:56 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Fri, 18 Mar 2016 18:58:02 +0000 (11:58 -0700)
commit1adb1962de0d9ca64cf34c3ae56245ae654b54d1
treebffac1b94b21031c235f5c6286b0eca3e7d7fec6
parenta0f37fad24445c2669c249fd96fbbec1a2c8d365
elm_widget: update child object focus_order.

Summary:
_parent_focus() when called recursively updates the
sd->focus_order for parent obeject only. The sibling's sd->focus_order
not get updated.
So updated the focus_order for siblings.

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>
Test Plan:
{F30149}
correct case:
1. Press Enter key on click button. A popoup will come.
2. Pressing enter key on popup button the popup hides and focus goes back to click button.

issue case:
1. Press Enter key on click button. A popoup will come.
2. press Alt+tab twice.
3. Pressing enter key on popup button the popup hides and focus does not go back to click button.

Reviewers: raster, cedric

Subscribers: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D3807
legacy/elementary/src/lib/elm_widget.c