]> code.ossystems Code Review - openembedded-core.git/commitdiff
formfactor: Assume HAVE_TOUCHSCREEN=0
authorDarren Hart <dvhart@linux.intel.com>
Wed, 16 Mar 2011 00:05:51 +0000 (17:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Mar 2011 13:39:09 +0000 (13:39 +0000)
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 <dvhart@linux.intel.com>
meta/recipes-bsp/formfactor/files/config

index ed15d9e0318acf2a5bd48ffcd3a23566f97919ac..e936916b43b2a18848ddc774159155323f56b408 100755 (executable)
@@ -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