elm_gen****: fix focus restoring on window focus changes
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Tue, 11 Dec 2018 15:40:40 +0000 (16:40 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:49:54 +0000 (13:49 +0900)
commitd7719e08f177e2d06931119a6472e0759212e641
tree4fdb149ff35d8f3f9359f3eb522f1f9deeb8f59a
parent5f14c9b412438d9b7258411003a0fccb1934f1cc
elm_gen****: fix focus restoring on window focus changes

this ensures that if there is no focused item, that at least the
container is focused. This leads to the fact that the elm_genlist
/elm_gengrid is refocused when a window is unfocused and focused again.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7451
src/lib/elementary/elm_gengrid.c
src/lib/elementary/elm_gengrid.eo
src/lib/elementary/elm_genlist.c
src/lib/elementary/elm_genlist.eo
src/lib/elementary_tizen/elm_genlist.c