[Spice-devel] [PATCH spice-gtk] widget: Fix mouse position reporting for multiple monitors on 1 display channel
Uri Lublin
uril at redhat.com
Mon Feb 4 06:09:36 PST 2013
On 02/04/2013 04:02 PM, Hans de Goede wrote:
> Hi,
>
> On 02/04/2013 02:52 PM, Uri Lublin wrote:
>> [CC'ing Arnon]
>>
>> On 02/02/2013 05:30 PM, Hans de Goede wrote:
>>> VDAgentMouseState contains a display_id and expects coordinates in
>>> multi-mon
>>> mode to be relative to the origin of the monitor specified by the
>>> display_id.
>>>
>>> The agent will then adjust the mouse coordinates for the position of
>>> the
>>> monitor as configured in the guest.
>>>
>>> In multiple monitors on 1 display channel spice-gtk is wrongly setting
>>> display_id to the channel_id (which is 0 for all monitors), and is
>>> working
>>
>> I think the channel_id is not always 0 for Windows guests.
>
> Note: "In multiple monitors on 1 display channel spice-gtk" so we're
> talking the
> new multiple heads an a single qxl-dev case here! And since there is
> only 1
> channel in that case channel_id will be 0 for all monitors.
Yes, sorry; I misread it as "In multiple monitors on display channel 1".
More information about the Spice-devel
mailing list