[Spice-devel] [PATCH] Adding new ioctl for updating Vdagent state

Dmitry Fleytman dmitry at daynix.com
Tue Aug 9 12:22:52 UTC 2016


> On 9 Aug 2016, at 14:23 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> 
> On Tue, Aug 09, 2016 at 09:22:15AM +0300, Sameeh Jubran wrote:
>> Hi,
>> 
>> What do you think that needs to be done?
>> The patches should be applied?
>> The interface of the device should be extended to support broadcasting the
>> mouse mode to the driver? ( I think would require to modify the spice
>> protocol )
>> The interface of spice-gtk should be extended to support broadcasting the
>> mouse mode to vdagent?
> 
> The filtering of cursor commands depending on server/mouse mode is
> already done in spice-server in
> https://cgit.freedesktop.org/spice/spice/tree/server/cursor-channel.c#n438
> so I don't think we need to know too much about client/server mode in
> the guest driver. Maybe some VGA/QXL distinction will be needed to avoid
> some VGA-specific issues, but when using QXL, removing EnablePointer()
> altogether should do the right thing both in client and server mode (did
> not test).

Hi Christophe,

For some reason mouse movements are less smooth when we do not filter out mouse events on driver level.
I suspect this was the reason Sandy changed EnablePointer() behaviour of the driver.

Do you have any idea why could this happen?

~Dmitry

> 
> Christophe
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list