[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]