aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xserver-common/files/calibrate-only-if-ts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xserver-common/files/calibrate-only-if-ts.patch')
-rw-r--r--recipes/xserver-common/files/calibrate-only-if-ts.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/xserver-common/files/calibrate-only-if-ts.patch b/recipes/xserver-common/files/calibrate-only-if-ts.patch
new file mode 100644
index 0000000000..7be808ba04
--- /dev/null
+++ b/recipes/xserver-common/files/calibrate-only-if-ts.patch
@@ -0,0 +1,9 @@
+--- a/run-calibrate.sh.org 2006-10-12 10:19:42.000000000 +0000
++++ b/run-calibrate.sh 2007-02-09 17:54:55.000000000 +0000
+@@ -1,3 +1,5 @@
+ #! /bin/sh
+
+-exec xtscal
++if [ -e /dev/input/touchscreen0 ]; then
++ exec xtscal
++fi