spice_main_set_display_enabled() will schedule a timer to send the monitor configuration to guest. However, this is undesired when resize-guest is disabled. Use spice_main_update_display_enabled() instead to skip the automatic timer. --- gtk/spice-widget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index f5e8aab..0317199 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -293,9 +293,11 @@ static void update_monitor_area(SpiceDisplay *display) goto whole; } - if (!d->resize_guest_enable) + if (!d->resize_guest_enable) { + spice_main_update_display_enabled(d->main, get_display_id(display), TRUE, FALSE); 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); @@ -2427,7 +2429,8 @@ static void channel_new(SpiceSession *s, SpiceChannel *channel, gpointer data) mark(display, primary.marked); } spice_channel_connect(channel); - spice_main_set_display_enabled(d->main, get_display_id(display), TRUE); + if (d->resize_guest_enable) + spice_main_set_display_enabled(d->main, get_display_id(display), TRUE); return; } -- 2.1.0 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel