Hi,

> 1. The IDs sent from the client in VDAgentMonitorsConfig and
> MousePosition messages are equal to either `channel_id + monitor_id` or
> `channel_id ? channel_id : monitor_id`. This is under the assumption
> that there is either only one display_channel or more display channels
> each with only a single monitor. Under this assumption the
> aforementioned expressions are equivalent. It is not a reliable way to
> identify monitors though.

Can we define this to be "channel_id + monitor_id", then use sparse
channel ids?  qxl has room for up to 16 monitors in the protocol
messages.  channel_id is 8 bit.  So we could support up to 16 display
devices with up to 16 outputs each if we enumerate the display channels
0, 16, 32 instead of 0, 1, 2.

cheers,
  Gerd

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

Reply via email to