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

Victor Toso victortoso at redhat.com
Fri Jun 9 15:29:49 UTC 2017


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);
 
     connect_dialog_run(&ci);
     if (ci.response == TRUE) {
-- 
2.13.0




More information about the virt-tools-list mailing list