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

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

 



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

Attachment: pgpcmWpmMGABE.pgp
Description: PGP signature

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux