X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fmeta-ti%2Frecipes-arago%2Fweston%2Fweston%2F0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch;fp=meta-agl-bsp%2Fmeta-ti%2Frecipes-arago%2Fweston%2Fweston%2F0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch;h=0000000000000000000000000000000000000000;hb=befd0bddd1b5bc36c3729988a7c9cc6b5b390641;hp=d2af15eca59db66a518fe592becbc50a40abb19e;hpb=f4fc7e9c874b4642b56091274ba9ae971c4c6dc3;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/meta-ti/recipes-arago/weston/weston/0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch b/meta-agl-bsp/meta-ti/recipes-arago/weston/weston/0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch deleted file mode 100644 index d2af15eca..000000000 --- a/meta-agl-bsp/meta-ti/recipes-arago/weston/weston/0001-ivi-shell-fix-TODO-which-expects-only-one-screen-in-.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 93ceff13467e7fb1bee38c0ab6f587f5f99cc594 Mon Sep 17 00:00:00 2001 -From: Nobuhiko Tanibata -Date: Wed, 25 Nov 2015 23:36:09 +0900 -Subject: [PATCH 1/7] ivi-shell: fix TODO which expects only one screen in the - system. - -It just return the first screen found in screen list. - -Signed-off-by: Nobuhiko Tanibata -Reviewed-by: Pekka Paalanen ---- - ivi-shell/ivi-layout.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c -index a04076e..efc0da5 100644 ---- a/ivi-shell/ivi-layout.c -+++ b/ivi-shell/ivi-layout.c -@@ -1484,9 +1484,8 @@ ivi_layout_get_screen_from_id(uint32_t id_screen) - struct ivi_layout_screen *iviscrn = NULL; - - wl_list_for_each(iviscrn, &layout->screen_list, link) { --/* FIXME : select iviscrn from screen_list by id_screen */ -- return iviscrn; -- break; -+ if (iviscrn->id_screen == id_screen) -+ return iviscrn; - } - - return NULL; --- -2.4.5 -