[Spice-devel] [PATCH spice-gtk] Fix non-tablet non-vd-agent Wayland relative mouse motion RH#1285378

Marie Stephanie Alesna istephielicious at gmail.com
Mon Oct 9 23:29:44 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1285378

Tested with Xwayland from Fedora 27 Beta (Fedora 26 Xwayland does not work).
Or Weston trunk requires this pending patchset:
        [PATCH weston 1/3] libweston: Preserve initial mouse pointer placement
        https://lists.freedesktop.org/archives/wayland-devel/2017-October/035377.html
        [PATCH weston 2/3] compositor-x11: Cleanup XCB_LEAVE_NOTIFY handling
        https://lists.freedesktop.org/archives/wayland-devel/2017-October/035378.html
        [PATCH weston 3/3] compositor-x11: Support relative mouse motion in fullscreen
        https://lists.freedesktop.org/archives/wayland-devel/2017-October/035379.html

Tested with some downloaded MS-Windows 8 beta after removing tablet virtual
device. Fedora 26 with removed virtual tablet device does not reproduce the
problem as it still runs in SPICE_MOUSE_MODE_CLIENT mode.  Fedora 26 does
reproduce it after adding <mouse mode='server'/> to its <graphics> section.

This is based on a patch by Christophe Fergeau.

Signed-off-by: Marie Stephanie Alesna <istephielicious at gmail.com>
---
 configure.ac            |  18 ++++
 src/Makefile.am         |  33 +++++++
 src/spice-widget-priv.h |  16 ++++
 src/spice-widget.c      | 236 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 303 insertions(+)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-non-tablet-non-vd-agent-Wayland-relative-mouse-mot.txt
Type: text/x-patch
Size: 14151 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171010/8bc7937a/attachment.bin>


More information about the Spice-devel mailing list