From 35b530346188557e7b81bcb69ccea27f60766177 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 22 Jun 2009 20:54:10 +0000 Subject: zaurusd: Support configurable portrait and landscape xrandr orientation. --- recipes/zaurusd/files/zaurus-hinge.matchbox-landscape | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/zaurusd/files/zaurus-hinge.matchbox-landscape') 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 -- cgit v1.2.3