matchbox-poky: Allow the cursor to be shown when using qemuarm

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@404 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2006-05-22 22:13:36 +00:00
parent 0457b7ca52
commit a21cef8165
2 changed files with 8 additions and 2 deletions

View File

@ -4,6 +4,8 @@ module_id() {
awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
}
SHOWCURSOR="no"
## Start up machine specific input devices. Really needs to go in its own session
case `module_id` in
"SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi" | "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi")
@ -12,6 +14,10 @@ case `module_id` in
"Generic OMAP1510/1610/1710")
/usr/bin/mbinputmgr &
;;
"ARM-IntegratorCP")
/usr/bin/mbinputmgr &
SHOWCURSOR="yes"
;;
esac
## All this should be done by themeing/xsettings.. ##
@ -32,6 +38,6 @@ matchbox-panel --orientation east \
--default-apps mb-applet-home,mb-applet-clock,mb-applet-battery &
## eek ugly no cursor hack - transparent theme should do this
exec matchbox-window-manager -theme Clearlooks -use_cursor no $@
exec matchbox-window-manager -theme Clearlooks -use_cursor $SHOWCURSOR $@

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Custom MB session files for poky"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS = "matchbox matchbox-applet-startup-monitor gtk-theme-clearlooks"
PR = "r12"
PR = "r13"
SRC_URI = "file://etc"
S = ${WORKDIR}