[Spice-devel] [PATCH spice-gtk 2/3] channel-display: Set monitors_max to 1 on init

flooding Controlled flooding2012 at gmail.com
Sun Aug 5 00:31:29 PDT 2012


What should I do first on the spice server side if I want to use multi
monitors ? It there any special configurations on the spice server side ?

Or I need to prepare two  display devices ? I do not really understand what
does the  multi monitors  mean ?

Could you give some help ? Thanks.

2012/8/2 Marc-André Lureau <mlureau at redhat.com>

> ack
>
> ----- Mensaje original -----
> > This fixes remote-viewer with the new multi monitor support not
> > working
> > when connecting to a spice-server without the new multi-monitor
> > support.
> >
> > Before this fix remote-viewer would hit the following
> > g_return_if_fail:
> > (remote-viewer:24787): remote-viewer-CRITICAL **:
> >  virt_viewer_session_spice_display_monitors:
> >   assertion `monitors->len <= monitors_max' failed
> >
> > Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> > ---
> >  gtk/channel-display.c |    1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/gtk/channel-display.c b/gtk/channel-display.c
> > index 72d2c12..4ed3bbb 100644
> > --- a/gtk/channel-display.c
> > +++ b/gtk/channel-display.c
> > @@ -696,6 +696,7 @@ static void
> > spice_display_channel_init(SpiceDisplayChannel *channel)
> >  #if defined(WIN32)
> >      c->dc = create_compatible_dc();
> >  #endif
> > +    c->monitors_max = 1;
> >      spice_display_channel_reset_capabilities(SPICE_CHANNEL(channel));
> >  }
> >
> > --
> > 1.7.10.4
> >
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120805/fea9b8a9/attachment.html>


More information about the Spice-devel mailing list