diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 88629ad3..7bc3aabf 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1718,7 +1718,7 @@ ivi_layout_get_layers_on_screen(struct ivi_layout_screen *iviscrn, return IVI_FAILED; } - wl_list_for_each(ivilayer, &iviscrn->order.layer_list, link) { + wl_list_for_each(ivilayer, &iviscrn->order.layer_list, order.link) { (*ppArray)[n++] = ivilayer; } }