genlist/gengrid/list: Fix first on_focus call correctly by checking focus highlight.
authorDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 22 Apr 2014 14:15:20 +0000 (23:15 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Tue, 22 Apr 2014 14:18:04 +0000 (23:18 +0900)
commitaacfe1ef96ef5a7a36a060a6881b731782df2e66
treeb209c3e2acf36557879ce8526ee3f88ebda214a8
parentba554d7624bbe9f495b6ef92602aad6a18e0e47f
genlist/gengrid/list: Fix first on_focus call correctly by checking focus highlight.

First on_focus call should consider focus highlight enable status and
do the different job according to that.

This can be tested in "genlist 7" and "genlist focus" examples in
elementary_test.
src/lib/elm_gengrid.c
src/lib/elm_genlist.c
src/lib/elm_list.c