My quick and dirty hack job of a fix was as follows:
Make the corresponding edits to src/input.c in function default_grab_touch_down
Then
followed by reloading the SD card image. Now I can touch the edges all I want and no crash
I don't know what's the cleaner way to fix this, maybe the trick is to just use a newer version of Weston if that's easy enough?
Environment
Raspberry Pi 3 with 7" Pi DSI Display (latest master build, out of the box)
R-Car Porter M2 with 7" Chalkboard Electronics 1280x800 touchscreen (after calibration)
I can confirm this, happens here, too. We need to backport the patches.
Jan-Simon Moeller November 3, 2016 at 9:54 AM
We need to stick to the version that is shipped with the yocto project version we use (krogoth for the release we're working towards), so yes, we need to patch.
Dennis Field November 2, 2016 at 11:10 PM
I can do whichever is preferred. Do we need to stick with 1.9 or can we use a newer version? (it's fixed in Weston 1.10)
When I touch the edges of the screen, Weston crashes.
Refer to https://www.mail-archive.com/wayland-devel@lists.freedesktop.org/msg29102.html - it notes that it was fixed in 1.10 and links to this commit which fixes it: https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84
My quick and dirty hack job of a fix was as follows:
Make the corresponding edits to src/input.c in function default_grab_touch_down
Then
followed by reloading the SD card image. Now I can touch the edges all I want and no crash
I don't know what's the cleaner way to fix this, maybe the trick is to just use a newer version of Weston if that's easy enough?