[Spice-devel] [spice-devel][spice-gtk PATCH] Advertise monitor config position capability

Pavel Grunt pgrunt at redhat.com
Tue Aug 4 01:58:19 PDT 2015


Hey Christophe,
"Handle single headed monitors that have a non-zero x, y config" was pushed 
as 8b0cd321d5a4d08ccba5845c5f2206e6f8032c1d

http://lists.freedesktop.org/archives/spice-devel/2015-July/021120.html

Pavel

On Tue, 2015-08-04 at 10:51 +0200, Christophe Fergeau wrote:
> On Wed, Jul 29, 2015 at 05:12:23PM -0400, Sandy Stutsman wrote:
> > Add capability to allow Windows guests to determine if the client
> > supports a monitors_config message from a multi-monitor guest that is not
> > multi-hat.
> 
> 'multi-head'
> 
> So as I said in the agent patch, I'd squash this into "Handle single
> headed monitors that have a non-zero x, y config" as I believe this is
> the patch which adds supports for multi-monitor/non-multi-head
> scenarios. I guess 'multi-head'/'multi-monitor' is the same as 'single
> device'/'multiple devices' ?
> 
> Christophe
> 
> > 
> > This addresses RHBZ#1248189
> > ---
> >  src/channel-main.c | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/src/channel-main.c b/src/channel-main.c
> > index 1b9c4d4..e4acee6 100644
> > --- a/src/channel-main.c
> > +++ b/src/channel-main.c
> > @@ -213,6 +213,7 @@ static const char *agent_caps[] = {
> >      [ VD_AGENT_CAP_GUEST_LINEEND_CRLF  ] = "line-end crlf",
> >      [ VD_AGENT_CAP_MAX_CLIPBOARD       ] = "max-clipboard",
> >      [ VD_AGENT_CAP_AUDIO_VOLUME_SYNC   ] = "volume-sync",
> > +    [ VD_AGENT_CAP_MONITORS_CONFIG_POSITION ] = "set-monitors-position",
> >  };
> >  #define NAME(_a, _i) ((_i) < SPICE_N_ELEMENTS(_a) ? (_a[(_i)] ?: "?") : 
> > "?")
> >  
> > @@ -1275,6 +1276,7 @@ static void agent_announce_caps(SpiceMainChannel 
> > *channel)
> >      VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_DISPLAY_CONFIG);
> >      VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_CLIPBOARD_BY_DEMAND);
> >      VD_AGENT_SET_CAPABILITY(caps->caps, VD_AGENT_CAP_CLIPBOARD_SELECTION);
> > +    VD_AGENT_SET_CAPABILITY(caps->caps, 
> > VD_AGENT_CAP_MONITORS_CONFIG_POSITION);
> >  
> >      agent_msg_queue(channel, VD_AGENT_ANNOUNCE_CAPABILITIES, size, caps);
> >      g_free(caps);
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list