X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-openivi%2Fopenivi-html5%2Fopenivi-html5%2Fopenivi-html5.sh;h=a318214ad20f29793246f60c5a66b80f707a785f;hb=3cd7f84105c6e52b54d9aeca7fa4e898d84bf61c;hp=b622551400e71c220d1dfca3d3d061fadbff4bbe;hpb=3ecf5cc06c44d700a7f29d4ffb49ab4c4954bba7;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh index b62255140..a318214ad 100644 --- a/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh +++ b/recipes-openivi/openivi-html5/openivi-html5/openivi-html5.sh @@ -17,7 +17,7 @@ HOMESCREEN=/usr/share/openivi/example/cluster/index.html HOMESCREEN_CONFIG=$XDG_CONFIG_DIRS/openivi-html5/openivi-html5.ini if [ -e "$HOMESCREEN_CONFIG" ] ; then HTML=`sed -n '/^homescreen=\(.*\)$/s//\1/p' < $HOMESCREEN_CONFIG` - if [ -e "$HTML" ] ; then + if [ -n "$HTML" ] ; then HOMESCREEN=$HTML fi fi @@ -30,10 +30,7 @@ SCREEN_H=1920 QT_W=1080 QT_H=1920 -# Ensure that Weston has been fully loaded -sleep 8 - -/usr/bin/openivi-html5 -f -u $HOMESCREEN & +QT_IVI_SURFACE_ID=4194304 QT_WAYLAND_SHELL_INTEGRATION=ivi-shell /usr/bin/openivi-html5 -f -u $HOMESCREEN & # qmlscene create 2 surfaces # 0x80000000 : for off screen buffer ?