summaryrefslogtreecommitdiff
path: root/recipes/xserver-common/files/gta-xorg-fixes.patch
blob: adf6798a99f24aeb4d4a53b97074687494b36c55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Index: xserver-common-1.22/X11/Xserver
===================================================================
--- xserver-common-1.22.orig/X11/Xserver	2008-11-12 09:16:50.000000000 +0000
+++ xserver-common-1.22/X11/Xserver	2008-11-12 09:18:53.000000000 +0000
@@ -109,7 +109,11 @@
 	"Nokia RX-44")
 		ARGS="$ARGS -dpi 225 -screen ${SCREEN_SIZE} -mouse tslib" ;;
 	"GTA01" )
-		ARGS="$ARGS -dpi 285 -screen 480x640" ;;
+		ARGS="$ARGS -dpi 285"
+		if [ "$XSERVER" != "Xorg" ] ; then
+			ARGS="$ARGS -screen 480x640"
+		fi
+		;;
 	"Motorola Ezx Platform")
 		ARGS="$ARGS -dpi 170 -screen 240x320" ;;
 	"ARM-IntegratorCP" | "ARM-Versatile PB")
@@ -118,7 +122,10 @@
 		modprobe mbxfb
 	        ARGS="$ARGS -fb /dev/fb1" ;;
 	"GTA02")
- 		ARGS="$ARGS -dpi 285 -screen ${SCREEN_SIZE}" 
+ 		ARGS="$ARGS -dpi 285"
+		if [ "$XSERVER" != "Xorg" ] ; then
+			ARGS="$ARGS -screen ${SCREEN_SIZE}"
+		fi
 		;;
 	"Boundary Devices Neon board")
 		ARGS="$ARGS -dpi 100 -screen ${SCREEN_SIZE} -mouse tslib"