1From d9e05e53b30c66705852256ff5c603252aa94b2c Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:41:52 +0200
4Subject: [PATCH] xserver-common: add support for gta04 alias OpenPhoenux
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 8 ++++++++
12 1 file changed, 8 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 8da926e..d9325dd 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -161,6 +161,14 @@ else
19                 ARGS="$ARGS -dpi ${DPI} -nocursor"
20             fi
21             ;;
22+        "gta04")
23+            DPI="280"
24+            if [ "$XSERVER" != "Xorg" ] ; then
25+                ARGS="$ARGS -screen ${SCREEN_SIZE}"
26+            else
27+                ARGS="$ARGS -dpi ${DPI} -nocursor"
28+            fi
29+            ;;
30         "motorola_ezx_platform")
31             ARGS="$ARGS -screen 240x320"
32             DPI="170" ;;
33