xserver-multidpi/hw/xwayland
Olivier Fourdan d41b43345c xwayland: Add PtrFeedback to the touch device
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.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1137
(cherry picked from commit ab76272a7d)
2021-06-08 08:02:37 +00:00
..
.gitignore glamor: Implement PixmapFromBuffers and BuffersFromPixmap 2018-03-05 13:27:49 -05:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
Makefile.am xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
meson.build xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
xwayland-cursor.c xwayland: Reset scheduled frames after hiding tablet cursor 2019-06-06 11:48:13 +02:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-eglstream.c xwayland: Remove pending stream reference when freeing 2020-10-01 08:29:01 +00:00
xwayland-glamor-gbm.c xwayland: use drmGetNodeTypeFromFd for checking if a node is a render one 2020-10-01 08:29:01 +00:00
xwayland-glamor-xv.c xwayland: use the lowercase xnf.*alloc API 2017-09-06 08:56:39 +10:00
xwayland-glamor.c glamor/xwayland: Define EGL_NO_X11 2019-11-05 08:12:03 -08:00
xwayland-input.c xwayland: Add PtrFeedback to the touch device 2021-06-08 08:02:37 +00:00
xwayland-output.c xwayland: Use a fixed DPI value for core protocol 2020-08-18 04:12:09 +00:00
xwayland-present.c xwayland: Check window pixmap in xwl_present_check_flip2 2020-09-30 15:06:30 +00:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Initialise values in xwlVidModeGetGamma() 2020-07-20 15:54:39 +02:00
xwayland.c xwayland: Replace LogMessage with LogMessageVerb 2020-12-16 10:14:12 +01:00
xwayland.h xwayland: Hold a pixmap reference in struct xwl_present_event 2020-07-22 16:39:33 +00:00