[Spice-devel] [PATCH spice-gtk 2/2] widget: don't send current configuration back
Marc-André Lureau
marcandre.lureau at gmail.com
Tue Apr 9 05:16:22 PDT 2013
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
More information about the Spice-devel
mailing list