[Spice-devel] [PATCH spice-gtk v3] Fix non-tablet non-guest-agent X11 relative mouse motion

Marie Stephanie Alesna istephielicious at gmail.com
Mon Oct 9 23:33:50 UTC 2017


We need to compensate the move induced by gdk_device_warp.
We cannot just ignore the next pointer move event as it may include
additional user moves. The fixed issue is most visible over ssh -X.

On Wayland this patch also improves mouse motion as it at least removes
ignoring of each other mouse event.

Signed-off-by: Marie Stephanie Alesna <istephielicious at gmail.com>
---
 src/spice-widget-priv.h |  2 ++
 src/spice-widget.c      | 16 ++++++++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-non-tablet-non-guest-agent-X11-relative-mouse-moti.txt
Type: text/x-patch
Size: 2257 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171010/652f36e9/attachment-0001.bin>


More information about the Spice-devel mailing list