summaryrefslogtreecommitdiffstats
path: root/meta-agl/recipes-graphics/wayland/weston_%.bbappend
diff options
context:
space:
mode:
authorDennis Field <dennisf@radiosound.com>2016-11-11 11:10:04 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-13 20:03:34 +0000
commit3bd99fb9c93da89564d31cf6579d49213915d2f7 (patch)
tree088a1ee0d688bba9f6af704759f3420d51c3d6b1 /meta-agl/recipes-graphics/wayland/weston_%.bbappend
parentc1ddae6f941c580917c06fbdba34651d5be16099 (diff)
Fix Weston crash on touchscreen input
Check for touch->focus before using it, as some touchscreens will generate out-of-screen coordinates and cause touch->focus to be NULL. (e.g. Raspberry Pi display, some displays after weston-calibrator) Bug-AGL: SPEC-309 Upstream-Status: Backport [https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84] Change-Id: I01b5cf7fd95275290544dffba2771619b1488dff Signed-off-by: Dennis Field <dennisf@radiosound.com>
Diffstat (limited to 'meta-agl/recipes-graphics/wayland/weston_%.bbappend')
-rw-r--r--meta-agl/recipes-graphics/wayland/weston_%.bbappend1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-agl/recipes-graphics/wayland/weston_%.bbappend b/meta-agl/recipes-graphics/wayland/weston_%.bbappend
index 95b886c6e..573b481a9 100644
--- a/meta-agl/recipes-graphics/wayland/weston_%.bbappend
+++ b/meta-agl/recipes-graphics/wayland/weston_%.bbappend
@@ -4,6 +4,7 @@ SRC_URI_append = "\
file://0001-compositor-drm.c-Launch-without-input-devices.patch \
file://weston.service \
file://weston.ini \
+ file://fix-touchscreen-crash.patch \
"
inherit systemd