diff options
author | Ross Burton <ross@openedhand.com> | 2007-11-16 15:53:14 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-11-16 15:53:14 +0000 |
commit | dd45ce7f888f6d05b15367275b5314860c263cdf (patch) | |
tree | 097a2d75503cbb068cab6bd5485d426b464e2ce9 /meta/packages | |
parent | a8484dbc6332f50b61d8407df3208cfa95efcef9 (diff) | |
download | openembedded-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-x | meta/packages/matchbox-sato/matchbox-sato/etc/matchbox/session | 8 | ||||
-rw-r--r-- | meta/packages/matchbox-sato/matchbox-sato_0.1.bb | 4 |
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} |