diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-04-08 18:19:35 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2013-04-09 15:24:47 +0200 |
commit | 439bfcc5553c8e906fd465bda185b24be4dd881f (patch) | |
tree | 33f8e71f18b9a99dd8b1d3344416dd857d514947 | |
parent | b44281a003640a650dc3d95466d62ec6f053c76e (diff) |
widget: don't send current configuration back
spice-gtk keep the main channel monitor configuration in sync, but
shouldn't send back to the remote if disabled, as this may results in
different settings, for example if the remote has switched to
16 bits.
-rw-r--r-- | gtk/spice-widget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index 011c905..d260367 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -314,8 +314,8 @@ static void update_monitor_area(SpiceDisplay *display) } if (!d->resize_guest_enable) - spice_main_set_display(d->main, get_display_id(display), - c->x, c->y, c->width, c->height); + spice_main_update_display(d->main, get_display_id(display), + c->x, c->y, c->width, c->height, FALSE); update_area(display, c->x, c->y, c->width, c->height); g_clear_pointer(&monitors, g_array_unref); |