[Spice-devel] [3/6] [PATCH spice] Add horizontal mouse wheel support
Christophe Fergeau
cfergeau at redhat.com
Mon Nov 6 17:49:34 UTC 2017
On Fri, Nov 03, 2017 at 02:47:17PM +0800, Matthew J. Francis wrote:
> Following up to myself:
> I got at least two things wrong in the above analysis.
>
> Firstly, in the Xspice case, we control both ends of the fake uinput
> connection (written to by vdagentd, read from by the "xspice pointer"
> driver in spiceqxl_inputs.c).
> However, I hadn't considered that when running X under qemu, we only
> control the vdagentd end, and input is handled by xorg's generic
> libinput driver - or indeed wayland, or whatever else uses the mouse.
One note here, when running a wayland spice-gtk/remote-viewer, the only
scroll events I'm getting are GDK_SCROLL_SMOOTH events, I'm not getting
any scroll event until I add GDK_SMOOTH_SCROLL_MASK to the events
spice-gtk listens to (which results in the mouse wheel not being
functional with a wayland client).
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171106/0c5b1398/attachment.sig>
More information about the Spice-devel
mailing list