[virt-tools-list] [PATCH] Don't disable fullscreen if kiosk mode is off
Marc-André Lureau
mlureau at redhat.com
Fri Oct 4 15:57:25 UTC 2013
ack (leaving kiosk will keep window in fullscreen, but that's a minor incovenience)
----- Original Message -----
> This conflicts with the --full-screen switch, because if kiosk mode is
> disabled,
> it sets disables fullscreen mode, which overrides the earlier call to enable
> fullscreen.
> ---
> src/virt-viewer-app.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index 445fe26..59fd95d 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1286,7 +1286,8 @@ virt_viewer_app_set_kiosk(VirtViewerApp *self, gboolean
> enabled)
> int i;
>
> self->priv->kiosk = enabled;
> - virt_viewer_app_set_fullscreen(self, enabled);
> + if (enabled)
> + virt_viewer_app_set_fullscreen(self, enabled);
>
> for (i = 0; i < gdk_screen_get_n_monitors(gdk_screen_get_default());
> i++) {
> VirtViewerWindow *win = virt_viewer_app_get_nth_window(self, i);
> --
> 1.8.3.1
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
>
More information about the virt-tools-list
mailing list