Re: [spice-gtk PATCH] Handle single headed monitors that have a non-zero x, y config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

----- Original Message -----
> > diff --git a/src/spice-widget.c b/src/spice-widget.c
> > index 59f9792..3ec2e65 100644
> > --- a/src/spice-widget.c
> > +++ b/src/spice-widget.c
> > @@ -293,7 +293,12 @@ static void update_monitor_area(SpiceDisplay *display)
> >          goto whole;
> >      }
> >  
> > -    update_area(display, c->x, c->y, c->width, c->height);
> > +    /* If only one head on this monitor, update the whole area */
> > +    if(monitors->len == 1) {
> > +        update_area(display, 0, 0, c->width, c->height);
> > +    } else {
> > +        update_area(display, c->x, c->y, c->width, c->height);
> > +    }
> 
> The linux qxl driver can't have a single monitor on (0,0)?

On !(0,0), sorry. 
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]