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
This commit is contained in:
Ross Burton 2007-11-16 15:53:14 +00:00
parent a8484dbc63
commit dd45ce7f88
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,12 @@
#!/bin/sh
SHOWCURSOR="no"
. /etc/formfactor/config
if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
SHOWCURSOR="no"
else
SHOWCURSOR="yes"
fi
matchbox-desktop &

View File

@ -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}