1From e2abbe110e71a7b4b56564e6b9d58ffa7f34a9e8 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:37:29 +0200
4Subject: [PATCH] xserver-common: add dpi and nocursor params for gta01 and
5 gta02
6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8
9---
10Upstream-Status: Pending
11
12 X11/xserver-common | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15diff --git a/X11/xserver-common b/X11/xserver-common
16index d622f2a..a2c0591 100644
17--- a/X11/xserver-common
18+++ b/X11/xserver-common
19@@ -133,15 +133,19 @@ else
20             ARGS="$ARGS -screen ${SCREEN_SIZE}"
21             DPI="225" ;;
22         "gta01" )
23-            DPI="285"
24+            DPI="280"
25             if [ "$XSERVER" != "Xorg" ] ; then
26                 ARGS="$ARGS -screen 480x640"
27+            else
28+                ARGS="$ARGS -dpi ${DPI} -nocursor"
29             fi
30             ;;
31         "gta02")
32-            DPI="285"
33+            DPI="280"
34             if [ "$XSERVER" != "Xorg" ] ; then
35                 ARGS="$ARGS -screen ${SCREEN_SIZE}"
36+            else
37+                ARGS="$ARGS -dpi ${DPI} -nocursor"
38             fi
39             ;;
40         "motorola_ezx_platform")
41