summaryrefslogtreecommitdiff
path: root/recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-04-28 11:31:25 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-05-02 21:15:01 +0200
commitb491380a2ae06bcd1fe0982904363000524e9c67 (patch)
tree49239ed39646d02d6968c494d6dc946307890353 /recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch
parent267fc260d31b9968036b3309362cb9f0bc2188f6 (diff)
xserver-common: add SHR patches and RCONFLICTS for xserver-kdrive-common
* for SHR updated calibration script * x-window-manager launcher to Xsession 90xXWindowManager * -nocursor param to Xorg ARGS, because strange artifacts or even segfault happen when using illume keyboard Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch')
-rw-r--r--recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch b/recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch
new file mode 100644
index 0000000000..f6e36d9e10
--- /dev/null
+++ b/recipes/xserver-common/files/Xserver.add.dpi.for.gta.patch
@@ -0,0 +1,29 @@
+xdpyinfo returns 96, but 285 is right value (but 280 is used as it renders 4 columns of illume icons instead of 3 and empty space)
+
+diff -uNr xserver-common-1.33.orig//X11/xserver-common xserver-common-1.33/X11/xserver-common
+--- xserver-common-1.33.orig//X11/xserver-common 2010-04-28 23:27:10.000000000 +0200
++++ xserver-common-1.33/X11/xserver-common 2010-04-28 23:29:07.000000000 +0200
+@@ -133,19 +133,19 @@
+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
+ DPI="225" ;;
+ "gta01" )
+- DPI="285"
++ DPI="280"
+ if [ "$XSERVER" != "Xorg" ] ; then
+ ARGS="$ARGS -screen 480x640"
+ else
+- ARGS="$ARGS -nocursor"
++ ARGS="$ARGS -dpi ${DPI} -nocursor"
+ fi
+ ;;
+ "gta02")
+- DPI="285"
++ DPI="280"
+ if [ "$XSERVER" != "Xorg" ] ; then
+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
+ else
+- ARGS="$ARGS -nocursor"
++ ARGS="$ARGS -dpi ${DPI} -nocursor"
+ fi
+ ;;
+ "motorola_ezx_platform")