[virt-tools-list] [PATCHv2 virt-viewer 03/10] kiosk: open a window on each client monitor

Christophe Fergeau cfergeau at redhat.com
Mon Aug 19 17:09:43 UTC 2013


On Fri, Aug 16, 2013 at 09:47:39PM +0200, Marc-André Lureau wrote:
> Open a window on each client monitor in fullscreen. If the remote
> display has less monitors than the client, the extra client monitors
> will still be used to prevent the user from accessing the windows or
> desktop bellow, and also to show some status messages when necessary.
> ---
>  src/virt-viewer-app.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index 226e3fc..a38d9ab 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1262,7 +1262,22 @@ static void virt_viewer_app_usb_failed(VirtViewerSession *session G_GNUC_UNUSED,
>  static void
>  virt_viewer_app_set_kiosk(VirtViewerApp *self, gboolean enabled)
>  {
> +    int i;
> +

This can be moved in the if (enabled) block.

>      self->priv->kiosk = enabled;
> +    virt_viewer_app_set_fullscreen(self, enabled);

Why is it not in the if (enabled) block?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130819/f89697ba/attachment.sig>


More information about the virt-tools-list mailing list