summaryrefslogtreecommitdiff
path: root/openembedded/packages/chkhinge26/files/hinge-handler
diff options
context:
space:
mode:
authorMatthew Allum <mallum@openedhand.com>2005-10-03 18:13:53 +0000
committerMatthew Allum <mallum@openedhand.com>2005-10-03 18:13:53 +0000
commit17cab4cb0c61bb511e395ae39dc5db0122387e7c (patch)
tree8deaab363b14683f40a4fbcb13951ac2e2e0d3f3 /openembedded/packages/chkhinge26/files/hinge-handler
parent6a6723bc92dadae8fa541b81324b1430e68888b0 (diff)
downloadopenembedded-core-17cab4cb0c61bb511e395ae39dc5db0122387e7c.tar.gz
openembedded-core-17cab4cb0c61bb511e395ae39dc5db0122387e7c.tar.bz2
openembedded-core-17cab4cb0c61bb511e395ae39dc5db0122387e7c.tar.xz
openembedded-core-17cab4cb0c61bb511e395ae39dc5db0122387e7c.zip
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
Diffstat (limited to 'openembedded/packages/chkhinge26/files/hinge-handler')
-rwxr-xr-xopenembedded/packages/chkhinge26/files/hinge-handler9
1 files changed, 7 insertions, 2 deletions
diff --git a/openembedded/packages/chkhinge26/files/hinge-handler b/openembedded/packages/chkhinge26/files/hinge-handler
index 12d0172e4..d8100e9b2 100755
--- a/openembedded/packages/chkhinge26/files/hinge-handler
+++ b/openembedded/packages/chkhinge26/files/hinge-handler
@@ -21,13 +21,18 @@ fi
if [ $STATE = "0" ]; then
echo "lanscape"
killall mbinputmgr
- xrand -o normal
+# urg mbinputmgr should kill below
+ killall matchbox-keyboard
+ killall matchbox-stroke
+ xrandr -o normal
exit 0
fi
if [ $STATE = "2" ]; then
echo "portrait"
+ xrandr -o left
+# just to be extra safe
+ sleep 1
mbinputmgr &
- xrandr -o left
exit 0
fi \ No newline at end of file