xserver-kdrive-common: SHR - don't force user to calibrate his screen after first...
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 23 Feb 2010 14:06:49 +0000 (15:06 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 23 Feb 2010 14:18:07 +0000 (15:18 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/xserver-kdrive-common/xserver-kdrive-common/shr/89xTs_Calibrate
recipes/xserver-kdrive-common/xserver-kdrive-common_0.1.bb

index 0abe3b4..a39ece5 100644 (file)
@@ -28,6 +28,7 @@ if [ -d $SYSFS_CALIBRATION_DIR ]; then
 fi
 
 if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
+  if [ -e /etc/pointercal.xinput ] ; then
     if [ -e /usr/bin/fsoraw ] ; then
       # because ts tap to unblank will be used as first calibration click and then store invalid calibration
       fsoraw -fr CPU,Display -- /usr/bin/xinput_calibrator_once.sh
@@ -35,4 +36,5 @@ if [ -e /usr/bin/xinput_calibrator_once.sh ] ; then
       /usr/bin/xinput_calibrator_once.sh
     fi
     exit
+  fi
 fi
index bf4bca8..255df7a 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Common X11 scripts"
 LICENSE = "GPL"
 SECTION = "x11"
-PR = "r41"
+PR = "r42"
 
 SRC_URI = "\
   file://Xdefaults \