diff options
author | Stanislav Brabec <utx@penguin.cz> | 2009-06-22 20:54:10 +0000 |
---|---|---|
committer | utx@penguin.cz <utx@penguin.cz> | 2009-06-22 20:54:10 +0000 |
commit | 35b530346188557e7b81bcb69ccea27f60766177 (patch) | |
tree | d7c0bfafff9375309a9a4a184de56d5b39d1dd44 /recipes/zaurusd/files/zaurus-hinge.matchbox-landscape | |
parent | d9dc503e425dbcc9e2c4b9f8c81dc8e8acfe4003 (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-landscape | 4 |
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 |