From: Darren Hart Date: Wed, 16 Mar 2011 00:05:51 +0000 (-0700) Subject: formfactor: Assume HAVE_TOUCHSCREEN=0 X-Git-Tag: 2011-1~2063 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=361f7536e75893c51cdcb2c6449e300ee2bbd53a;p=openembedded-core.git formfactor: Assume HAVE_TOUCHSCREEN=0 If no machine specific formfactor is found, the formfactor config defaults to HAVE_TOUCHSCREEN=1. The result is for the matchbox session to disable the cursor. This can lead to a lot of churn sorting out why the cursor doesn't appear: xorg bug, xorg driver bug, kernel drm driver bug, kms bug, many of which appear when searching for invisible cursor on the web. On the other hand, if a cursor appears on a touchscreen device, one is much more likely to reach a correct conclusion: "I need to set HAVE_TOUCHSCREEN=1 in my custom machine formfactor config". Which likely exists or is needed for other formfactor specific things such as dpi, screen size, rotation, etc. Signed-off-by: Darren Hart --- diff --git a/meta/recipes-bsp/formfactor/files/config b/meta/recipes-bsp/formfactor/files/config index ed15d9e031..e936916b43 100755 --- a/meta/recipes-bsp/formfactor/files/config +++ b/meta/recipes-bsp/formfactor/files/config @@ -5,7 +5,7 @@ if [ -e /etc/formfactor/machconfig ]; then fi if [ -z "$HAVE_TOUCHSCREEN" ]; then - HAVE_TOUCHSCREEN=1 + HAVE_TOUCHSCREEN=0 fi if [ -z "$HAVE_KEYBOARD" ]; then