[virt-tools-list] [PATCH virt-viewer 05/12] kiosk: disable session auto usb share
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jul 15 19:36:12 UTC 2013
---
src/virt-viewer-app.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
index a38841c..d5acd2c 100644
--- a/src/virt-viewer-app.c
+++ b/src/virt-viewer-app.c
@@ -793,6 +793,10 @@ virt_viewer_app_create_session(VirtViewerApp *self, const gchar *type)
return -1;
}
+
+ if (priv->kiosk)
+ virt_viewer_session_set_auto_usbredir(priv->session, FALSE);
+
g_signal_connect(priv->session, "session-initialized",
G_CALLBACK(virt_viewer_app_initialized), self);
g_signal_connect(priv->session, "session-connected",
--
1.8.3.rc1.49.g8d97506
More information about the virt-tools-list
mailing list