summaryrefslogtreecommitdiff
path: root/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-11-29 22:52:57 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2007-11-29 22:52:57 +0000
commit893391922a439ff9b2695d2e9e91c6060348bc41 (patch)
treed7380106d61494bba7ff06f7892407d65f044582 /packages/zaurusd/files/zaurus-hinge.matchbox-landscape
parent5a14f0b2120aa8004ead8422cb291f3aec0b9d01 (diff)
parentae7eb4076905d0b10613ba756acc9924e3d4fbaf (diff)
merge of '2756e6b25efd4532c1a23fd31f68481d2f8b68a3'
and '9c32fcb38cb012f79311cd1b07560964873c6307'
Diffstat (limited to 'packages/zaurusd/files/zaurus-hinge.matchbox-landscape')
-rw-r--r--packages/zaurusd/files/zaurus-hinge.matchbox-landscape6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/zaurusd/files/zaurus-hinge.matchbox-landscape b/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
index e7b92b5140..a048769f7d 100644
--- a/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
+++ b/packages/zaurusd/files/zaurus-hinge.matchbox-landscape
@@ -16,6 +16,10 @@
# urg mbinputmgr should kill below
killproc ${ZD_BINDIR}/matchbox-keyboard
killproc ${ZD_BINDIR}/matchbox-stroke
+
if [ -x ${ZD_BINDIR}/xrandr ]; then
- xrandr -o normal
+ if ! ( xrandr | awk '{print $4}' | grep -q normal )
+ then
+ ${ZD_BINDIR}/xrandr -o normal
+ fi
fi