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

Re: [virt-tools-list] [PATCH virt-viewer 02/19] spice: improve fullscreen=auto-conf



On Mon, Jul 16, 2012 at 06:57:37PM +0200, Marc-André Lureau wrote:
> Do keep client monitor position, do not align monitors automatically.
> The align property is only available since v0.12.101.

There are no spice-gtk release tarball yet with these changes, right?
Looks good otherwise

Christophe

> ---
>  configure.ac                    |    2 +-
>  src/virt-viewer-session-spice.c |    4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 494cd13..a2471f4 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -19,7 +19,7 @@ GTK2_REQUIRED="2.18.0"
>  GTK3_REQUIRED="3.0"
>  GTK_VNC1_REQUIRED="0.3.8"
>  GTK_VNC2_REQUIRED="0.4.0"
> -SPICE_GTK_REQUIRED="0.11"
> +SPICE_GTK_REQUIRED="0.12.101"
>  SPICE_PROTOCOL_REQUIRED="0.10.1"
>  
>  AC_MSG_CHECKING([for native Win32])
> diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
> index 7b47735..6577237 100644
> --- a/src/virt-viewer-session-spice.c
> +++ b/src/virt-viewer-session-spice.c
> @@ -499,6 +499,10 @@ virt_viewer_session_spice_fullscreen_auto_conf(VirtViewerSessionSpice *self)
>  
>      DEBUG_LOG("Performing full screen auto-conf, %d host monitors",
>                gdk_screen_get_n_monitors(screen));
> +    g_object_set(G_OBJECT(cmain),
> +                 "disable-display-position", FALSE,
> +                 "disable-display-align", TRUE,
> +                 NULL);
>      spice_main_set_display_enabled(cmain, -1, FALSE);
>      for (i = 0; i < gdk_screen_get_n_monitors(screen); i++) {
>          gdk_screen_get_monitor_geometry(screen, i, &dest);
> -- 
> 1.7.10.4
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgpFszf2HCnUO.pgp
Description: PGP signature


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