diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2016-06-13 19:10:45 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-06-20 15:18:10 +0200 |
commit | a3d686fb1693b89d8c2063e1ad5b7bfcc03ff170 (patch) | |
tree | 7a3e402ece68b1f107815ef23b6803a8648de584 | |
parent | 088b15742e239c93b0ef324a5c3f940556508647 (diff) |
widget: use scanout offset when using virgl
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 <marcandre.lureau@redhat.com>
-rw-r--r-- | src/spice-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spice-widget.c b/src/spice-widget.c index 595c8f5..4ca74bf 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); |