aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/zaurusd/files/zaurus-hinge.matchbox-portrait
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/zaurusd/files/zaurus-hinge.matchbox-portrait')
-rw-r--r--recipes/zaurusd/files/zaurus-hinge.matchbox-portrait4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/zaurusd/files/zaurus-hinge.matchbox-portrait b/recipes/zaurusd/files/zaurus-hinge.matchbox-portrait
index 291617cd02..e540e66906 100644
--- a/recipes/zaurusd/files/zaurus-hinge.matchbox-portrait
+++ b/recipes/zaurusd/files/zaurus-hinge.matchbox-portrait
@@ -1,9 +1,9 @@
#!/bin/sh
if [ -x ${ZD_BINDIR}/xrandr ]; then
- if ! ( xrandr | awk '{print $4}' | grep -q left )
+ if ! ( xrandr | awk '{print $4}' | grep -q $XRANDR_PORTRAIT )
then
- ${ZD_BINDIR}/xrandr -o left
+ ${ZD_BINDIR}/xrandr -o $XRANDR_PORTRAIT
fi
fi
# just to be extra safe