meta-digi/meta-digi-dey/recipes-graphics/wayland/weston/0003-weston-touch-calibrato...

33 lines
849 B
Diff

From 8955e20180954b4778b9284bade05acf323a1690 Mon Sep 17 00:00:00 2001
From: Jun Zhu <junzhu@nxp.com>
Date: Sun, 30 Sep 2018 15:31:26 +0800
Subject: [PATCH] weston-touch-calibrator: Advertise the touchscreen calibrator
interface to all clients. [YOCIMX-2963]
Set touchscreen_calibrator to true in the section "libinput" of the configure file
/etc/xdg/weston/weston.ini.
Otherwise, it will report that the new-added interface "weston-touch-calibration" cannot be found.
Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
weston.ini.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/weston.ini.in b/weston.ini.in
index fec4291..2d492ab 100644
--- a/weston.ini.in
+++ b/weston.ini.in
@@ -2,6 +2,9 @@
# i.MX: Disable idle timeout
idle-time=0
+[libinput]
+touchscreen_calibrator=true
+
#[output]
#name=HDMI-A-1
#mode=1920x1080@60
--
2.7.4