summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-11-16 15:53:14 +0000
committerRoss Burton <ross@openedhand.com>2007-11-16 15:53:14 +0000
commitdd45ce7f888f6d05b15367275b5314860c263cdf (patch)
tree097a2d75503cbb068cab6bd5485d426b464e2ce9 /meta/packages
parenta8484dbc6332f50b61d8407df3208cfa95efcef9 (diff)
downloadopenembedded-core-dd45ce7f888f6d05b15367275b5314860c263cdf.tar.gz
openembedded-core-dd45ce7f888f6d05b15367275b5314860c263cdf.tar.bz2
openembedded-core-dd45ce7f888f6d05b15367275b5314860c263cdf.tar.xz
openembedded-core-dd45ce7f888f6d05b15367275b5314860c263cdf.zip
matchbox-sato: use formfactor to determine if we should show a cursor
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3190 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rwxr-xr-xmeta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session8
-rw-r--r--meta/packages/matchbox-sato/matchbox-sato_0.1.bb4
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
index 8d095f3cd..8a2bdd013 100755
--- a/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
+++ b/meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session
@@ -1,6 +1,12 @@
#!/bin/sh
-SHOWCURSOR="no"
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+ SHOWCURSOR="no"
+else
+ SHOWCURSOR="yes"
+fi
matchbox-desktop &
diff --git a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
index bf39d7357..78598ce63 100644
--- a/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
+++ b/meta/packages/matchbox-sato/matchbox-sato_0.1.bb
@@ -1,9 +1,9 @@
DESCRIPTION = "Custom MB session files for poky"
LICENSE = "GPL"
SECTION = "x11"
-RDEPENDS = "gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato"
+RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato"
RCONFLICTS = "matchbox-common"
-PR = "r16"
+PR = "r17"
SRC_URI = "file://etc file://matchbox-session"
S = ${WORKDIR}