[virt-tools-list] [virt-viewer v1] remote-viewer-connect: Keep the 'dialog' window on top

Victor Toso lists at victortoso.com
Fri Jun 9 15:43:07 UTC 2017


Hi,

On Fri, Jun 09, 2017 at 05:29:49PM +0200, Victor Toso wrote:
> From: Victor Toso <me at victortoso.com>
> 
> Otherwise, in kiosk mode, it'll be hidden from user.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1459800
> 
> Signed-off-by: Victor Toso <victortoso at redhat.com>
> ---
>  src/remote-viewer-connect.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/remote-viewer-connect.c b/src/remote-viewer-connect.c
> index 2fbc5ff..cb392f0 100644
> --- a/src/remote-viewer-connect.c
> +++ b/src/remote-viewer-connect.c
> @@ -238,6 +238,7 @@ remote_viewer_connect_dialog(gchar **uri)
>  
>      /* show and wait for response */
>      gtk_widget_show_all(window);
> +    gtk_window_set_keep_above(GTK_WINDOW(window), TRUE);

Not really a good solution as this will keep this custom GtkWindow in
top of everything else all the time (not only on kiosk)

>  
>      connect_dialog_run(&ci);
>      if (ci.response == TRUE) {
> -- 
> 2.13.0
> 
> _______________________________________________
> 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: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170609/c91de904/attachment.sig>


More information about the virt-tools-list mailing list