summaryrefslogtreecommitdiff
path: root/recipes/zaurusd/files/zaurus-hinge.matchbox-landscape
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-06-22 20:54:10 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-06-22 20:54:10 +0000
commit35b530346188557e7b81bcb69ccea27f60766177 (patch)
treed7c0bfafff9375309a9a4a184de56d5b39d1dd44 /recipes/zaurusd/files/zaurus-hinge.matchbox-landscape
parentd9dc503e425dbcc9e2c4b9f8c81dc8e8acfe4003 (diff)
zaurusd: Support configurable portrait and landscape xrandr orientation.
Diffstat (limited to 'recipes/zaurusd/files/zaurus-hinge.matchbox-landscape')
-rw-r--r--recipes/zaurusd/files/zaurus-hinge.matchbox-landscape4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/zaurusd/files/zaurus-hinge.matchbox-landscape b/recipes/zaurusd/files/zaurus-hinge.matchbox-landscape
index a048769f7d..32710b2a67 100644
--- a/recipes/zaurusd/files/zaurus-hinge.matchbox-landscape
+++ b/recipes/zaurusd/files/zaurus-hinge.matchbox-landscape
@@ -18,8 +18,8 @@
killproc ${ZD_BINDIR}/matchbox-stroke
if [ -x ${ZD_BINDIR}/xrandr ]; then
- if ! ( xrandr | awk '{print $4}' | grep -q normal )
+ if ! ( xrandr | awk '{print $4}' | grep -q $XRANDR_LANDSCAPE )
then
- ${ZD_BINDIR}/xrandr -o normal
+ ${ZD_BINDIR}/xrandr -o $XRANDR_LANDSCAPE
fi
fi