X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2FHomeScreen.git;a=blobdiff_plain;f=HomeScreen%2Fsrc%2Fmain.cpp;h=a896c2e6e6c860fd2c69fa5ba0a88ec814bddab1;hp=434cf6c53cf5d3312419f9425ed65e5188b13148;hb=83cfbb9fe4bcc17f6b00c8a25aa3eb8c2c850ac0;hpb=c15499baf78f777de62899a376b0f3cd6b651920 diff --git a/HomeScreen/src/main.cpp b/HomeScreen/src/main.cpp index 434cf6c..a896c2e 100644 --- a/HomeScreen/src/main.cpp +++ b/HomeScreen/src/main.cpp @@ -45,14 +45,12 @@ int main(int argc, char *argv[]) MainWindow w; w.show(); -#ifdef __arm__ +#ifdef HAVE_IVI_LAYERMANAGEMENT_API // the WindowManager positions the surface correctly -#endif -#ifdef __i386__ +#else w.move(0, 0); #endif - #ifdef __arm__ qDebug("Running on ARM architecture"); #endif