[virt-tools-list] [PATCH virt-viewer] Initialize fullscreen display map to fallback

Fabiano Fidêncio fabiano at fidencio.org
Fri Sep 26 11:31:07 UTC 2014


On Thu, Sep 25, 2014 at 9:49 PM, Jonathon Jongsma <jjongsma at redhat.com>
wrote:

> 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
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>

ACK!

-- 
Fabiano Fidêncio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140926/be1b5037/attachment.htm>


More information about the virt-tools-list mailing list