ping

On Mon, Jun 13, 2016 at 7:11 PM, Marc-André Lureau
<[email protected]> wrote:
> Ignoring the display area offset doesn't work nicely with virgl. Imho,
> this condition is wrong even in QXL case.
>
> Signed-off-by: Marc-André Lureau <[email protected]>
> ---
>  src/spice-widget.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/spice-widget.c b/src/spice-widget.c
> index c528614..61a88fb 100644
> --- a/src/spice-widget.c
> +++ b/src/spice-widget.c
> @@ -309,7 +309,7 @@ void 
> spice_display_widget_update_monitor_area(SpiceDisplay *display)
>      }
>
>      /* If only one head on this monitor, update the whole area */
> -    if(monitors->len == 1) {
> +    if (monitors->len == 1 && !d->egl.enabled) {
>          update_area(display, 0, 0, c->width, c->height);
>      } else {
>          update_area(display, c->x, c->y, c->width, c->height);
> --
> 2.7.4
>



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to