From 608e1ee86d3d425843a92573369341d7c6e2aa52 Mon Sep 17 00:00:00 2001 From: Tomohito Esaki Date: Thu, 12 Oct 2023 16:15:50 +0900 Subject: [PATCH] ivi-shell-user-interface: change timing to create the launcher surface Since hmi-controller adds surfaces to layers when creating ivi surfaces, the launcher will appear on startup. As before, the launcher surface is created before the background surface so that the background will appear on startup. Signed-off-by: Tomohito Esaki --- clients/ivi-shell-user-interface.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/ivi-shell-user-interface.c b/clients/ivi-shell-user-interface.c index 7d2d1a20..bcb61c0b 100644 --- a/clients/ivi-shell-user-interface.c +++ b/clients/ivi-shell-user-interface.c @@ -1287,6 +1287,11 @@ int main(int argc, char **argv) wlCtx_WorkSpaceBackGround.cmm = &wlCtxCommon; /* create desktop widgets */ + create_launchers(&wlCtxCommon, &hmi_setting->launcher_list); + + create_workspace_background(&wlCtx_WorkSpaceBackGround, + &hmi_setting->workspace_background); + for (i = 0; i < hmi_setting->screen_num; i++) { wlCtx_BackGround[i].cmm = &wlCtxCommon; create_background(&wlCtx_BackGround[i], @@ -1312,11 +1317,6 @@ int main(int argc, char **argv) create_button(&wlCtx_Button_4, hmi_setting->random.id, hmi_setting->random.filePath, 3); - create_workspace_background(&wlCtx_WorkSpaceBackGround, - &hmi_setting->workspace_background); - - create_launchers(&wlCtxCommon, &hmi_setting->launcher_list); - create_home_button(&wlCtx_HomeButton, hmi_setting->home.id, hmi_setting->home.filePath);