If uuid was never set, we never checked the 'fallback' monitor map.
Initializing the monitor map to the fallback value at startup solves
this issue. This allows fallback mode to work with older servers that
don't send the UUID.
---
src/virt-viewer-app.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index 063a358..d5a101e 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -1758,6 +1758,7 @@ virt_viewer_app_init (VirtViewerApp *self)
opt_zoom = 100;
}
+ self->priv->initial_display_map =
virt_viewer_app_get_monitor_mapping_for_section(self, "fallback");
self->priv->verbose = opt_verbose;
self->priv->quit_on_disconnect = opt_kiosk ? opt_kiosk_quit : TRUE;
g_signal_connect(self, "notify::guest-name",
G_CALLBACK(title_maybe_changed), NULL);
--
1.9.3
_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list