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.
---
 gtk/spice-widget.c | 4 ++--
 1 file 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);
-- 
1.8.1.1.439.g50a6b54

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to