xwayland: Add PtrFeedback to the touch device

Graphics / X.Org / X.Org Server - Olivier Fourdan [redhat.com] - 16 February 2021 08:37 UTC

Trying to change the acceleration/threshold on Xwayland cannot work, and the corresponding handler xwl_pointer_control() is a no-op.

Yet, an X11 client trying to change those on the touch device may possibly cause a crash because the touch device in Xwayland doesn't set that.

Initialize the touch device's PtrFeedback to make sure that just cannot happen.

ab76272a7 xwayland: Add PtrFeedback to the touch device
hw/xwayland/xwayland-input.c | 4 ++++
1 file changed, 4 insertions(+)

Upstream: cgit.freedesktop.org


  • Share