[Spice-devel] [PATCH spice-gtk 2/2] spicy: Add option to control syncing modifiers
Pavel Grunt
pgrunt at redhat.com
Tue May 3 13:41:23 UTC 2016
---
src/spicy.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/spicy.c b/src/spicy.c
index 0475530..0826c03 100644
--- a/src/spicy.c
+++ b/src/spicy.c
@@ -712,6 +712,7 @@ static const char *spice_display_properties[] = {
static const char *spice_gtk_session_properties[] = {
"auto-clipboard",
"auto-usbredir",
+ "sync-modifiers",
};
static const GtkToggleActionEntry tentries[] = {
@@ -736,6 +737,10 @@ static const GtkToggleActionEntry tentries[] = {
.label = "Disable inputs",
.callback = G_CALLBACK(menu_cb_bool_prop),
},{
+ .name = "sync-modifiers",
+ .label = "Sync modifiers",
+ .callback = G_CALLBACK(menu_cb_bool_prop),
+ },{
.name = "auto-clipboard",
.label = "Automatic clipboard sharing between host and guest",
.callback = G_CALLBACK(menu_cb_bool_prop),
@@ -821,6 +826,7 @@ static char ui_xml[] =
" <menuitem action='resize-guest'/>\n"
" <menuitem action='scaling'/>\n"
" <menuitem action='disable-inputs'/>\n"
+" <menuitem action='sync-modifiers'/>\n"
" <menuitem action='auto-clipboard'/>\n"
" <menuitem action='auto-usbredir'/>\n"
" <menu action='CompressionMenu'>\n"
--
2.8.2
More information about the Spice-devel
mailing list