1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 04:58:26 +00:00

Hack up the handler some more so it roughly works

git-svn-id: https://svn.o-hand.com/repos/poky@108 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Matthew Allum
2005-10-03 18:13:53 +00:00
parent 6a6723bc92
commit 17cab4cb0c
2 changed files with 8 additions and 3 deletions
@@ -14,5 +14,5 @@ do_install_append () {
install -m 0755 ${WORKDIR}/hinge-handler ${D}/${bindir}/ install -m 0755 ${WORKDIR}/hinge-handler ${D}/${bindir}/
} }
FILES_${PN} += "${BINDIR}/hinge-handler" FILES_${PN} += "${bindir}/hinge-handler"
@@ -21,13 +21,18 @@ fi
if [ $STATE = "0" ]; then if [ $STATE = "0" ]; then
echo "lanscape" echo "lanscape"
killall mbinputmgr killall mbinputmgr
xrand -o normal # urg mbinputmgr should kill below
killall matchbox-keyboard
killall matchbox-stroke
xrandr -o normal
exit 0 exit 0
fi fi
if [ $STATE = "2" ]; then if [ $STATE = "2" ]; then
echo "portrait" echo "portrait"
xrandr -o left
# just to be extra safe
sleep 1
mbinputmgr & mbinputmgr &
xrandr -o left
exit 0 exit 0
fi fi