xinput-calibrator: get screen geometry when calibrating

Calibration acquires a default resolution of 1280x1024 when running
xinput_calibrator_pointercal.sh, obtain correct screen resolution by
using xrandr to grab user-specified geometry and pass to script

(From OE-Core rev: ce6f15dc3905ab0b061b20cc35fd179fdd9e070f)

Signed-off-by: Jonathan David <jonathan.david@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan David
2015-11-30 15:59:50 -06:00
committed by Richard Purdie
parent e8d36f4886
commit 8dd27efecf
2 changed files with 35 additions and 1 deletions

View File

@@ -14,7 +14,8 @@ REQUIRED_DISTRO_FEATURES = "x11"
SRCREV = "c01c5af807cb4b0157b882ab07a893df9a810111"
SRC_URI = "git://github.com/tias/xinput_calibrator.git \
file://30xinput_calibrate.sh \
file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch"
file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \
file://add-geometry-input-when-calibrating.patch"
S = "${WORKDIR}/git"