[virt-tools-list] [PATCH virt-viewer 4/4] kiosk: don't attempt to hide windows when disconnecting

Christophe Fergeau cfergeau at redhat.com
Tue Jun 10 13:27:45 UTC 2014


ACK

On Tue, Jun 10, 2014 at 02:18:11PM +0200, Marc-André Lureau wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
> 
> Get rid of the following warning:
> (virt-viewer:7262): virt-viewer-WARNING **: Can't hide windows in kiosk mode
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1107518
> ---
>  src/virt-viewer-app.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index 6c87c30..38c7c57 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -1317,7 +1317,9 @@ virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED,
>      VirtViewerAppPrivate *priv = self->priv;
>      gboolean connect_error = !priv->connected && !priv->cancelled;
>  
> -    virt_viewer_app_hide_all_windows(self);
> +    if (!priv->kiosk)
> +        virt_viewer_app_hide_all_windows(self);
> +
>      if (priv->quitting)
>          gtk_main_quit();
>  
> -- 
> 1.9.3
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140610/5396006e/attachment.sig>


More information about the virt-tools-list mailing list