atspi: set FOCUSABLE state only when widget has no focusable children
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 13 May 2015 09:38:20 +0000 (11:38 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 13 May 2015 13:39:24 +0000 (15:39 +0200)
commit020ad4df7b737fa7225b4e98e3ffd78c11de71d6
tree746815a623b8f31878a332cae4765bf38ccbcb04
parent10109852fe7e98c0e72c328e603b957a65ef534b
atspi: set FOCUSABLE state only when widget has no focusable children

AT-SPI2 specification states that active window can have only one widget
with FOCUSED state. This differs from elementary design which assumes
that whole elementary widget tree branch is focused.
Patch assumes that if a widget have no focusable children and can have
focus it can be marked as FOCUSABLE on atspi bus.
src/lib/elm_layout.c
src/lib/elm_widget.c