[Spice-devel] [PATCH spice-gtk 2/2] spicy: Add option to control syncing modifiers

Frediano Ziglio fziglio at redhat.com
Tue May 10 14:05:44 UTC 2016


Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano

> 
> ---
>  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"



More information about the Spice-devel mailing list