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

Marie Stephanie Alesna istephielicious at gmail.com
Sun Oct 1 21:09:13 UTC 2017


Hi,

>I will try to fix the Wayland issue (in fact unrelated to this patch)

As tested on:
        SDL2-2.0.5-4.fc26.x86_64
        xorg-x11-server-Xwayland-1.19.3-4.fc26.x86_64
        weston-2.0.0-1.fc26.x86_64
        xorg-x11-server-Xorg-1.19.3-4.fc26.x86_64

The attached mouse grab behavior reproducer utilizing how it is implemented on
SDL2 does work great on X11.

Not so on Wayland - on native server (/usr/bin/Xwayland) it sends just one
mouse motion and then it stops. It does work better on X11 server under Weston
but also not perfectly - one has to run 'weston --fullscreen' to test the
mouse motion properly but then Weston itself has a problem with the "wall" one
cannot cross further. (video link: https://youtu.be/AkXC-vXeKaY )

So I believe there is some more work on Wayland to do before one can make
a spice-gtk fix. I can look to fix the Weston "wall" problem first.

Thanks,

Steph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mouseGrab_sdl.c
Type: text/x-csrc
Size: 772 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171001/6cfa2fce/attachment.c>


More information about the Spice-devel mailing list