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

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



On Wed, Mar 13, 2013 at 08:44:57PM +0100, Marc-André Lureau wrote:
> This ensure self->priv->auto_resize has correct value.
> And allow changing guest resolution when started in fullscreen.

ACK. Not new in this patch, but a bit surprised that _new() does a lot of
setup work, while _init() is mostly empty.

Christophe

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

Attachment: pgpWpLYZCAR3m.pgp
Description: PGP signature


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