[virt-tools-list] [PATCH virt-viewer] spice: update fullscreen state on display creation

Marc-André Lureau marcandre.lureau at gmail.com
Wed Mar 13 19:44:57 UTC 2013


This ensure self->priv->auto_resize has correct value.
And allow changing guest resolution when started in fullscreen.

https://bugzilla.redhat.com/show_bug.cgi?id=873298
---
 src/virt-viewer-display-spice.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/virt-viewer-display-spice.c b/src/virt-viewer-display-spice.c
index 1e17ca5..6a7f4a9 100644
--- a/src/virt-viewer-display-spice.c
+++ b/src/virt-viewer-display-spice.c
@@ -318,6 +318,7 @@ virt_viewer_display_spice_new(VirtViewerSessionSpice *session,
                                       G_CALLBACK(enable_accel_changed), self, 0);
     virt_viewer_signal_connect_object(app, "notify::fullscreen",
                                       G_CALLBACK(fullscreen_changed), self, 0);
+    fullscreen_changed(app, NULL, self);
     enable_accel_changed(app, NULL, self);
 
     return GTK_WIDGET(self);
-- 
1.8.1.1.439.g50a6b54




More information about the virt-tools-list mailing list