elm/genlist: hide cached item contents and mark content unfocusable during calc
authorMike Blumenkrantz <zmike@samsung.com>
Mon, 28 Oct 2019 19:48:08 +0000 (15:48 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 11 Nov 2019 02:20:40 +0000 (11:20 +0900)
commit76f44a416da4bee0f4e87632d1a88825984bd863
tree20e7f082aa0c780b30eb629ceba90699fb3bd01a
parent8a0eae6a18cb14e35fa5b3ce6e426dfd2e86762d
elm/genlist: hide cached item contents and mark content unfocusable during calc

cached item contents should already be hidden by the edje clipper, so this simply
changes their visible state to break them out of the focus calcs

contents must also be explicitly marked as unfocusable during calc-only realize
operations in order to avoid triggering a full focus recalc which will error due
to missing focus adapter in the item block

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10543
src/lib/elementary/elm_genlist.c
src/lib/elementary/elm_widget_genlist.h