[Spice-devel] [PATCH] spice_info: add mouse_mode

Gerd Hoffmann kraxel at redhat.com
Mon Mar 26 06:06:22 PDT 2012


> +#if SPICE_SERVER_VERSION >= 0x000a03 /* 0.10.3 */
> +    info->has_mouse_mode = true;
> +    info->mouse_mode = g_strdup(spice_server_is_server_mouse(spice_server) ?
> +                                                        "server" : "client");

#else
      info->mouse_mode = "unknown";
#endif

cheers,
  Gerd


More information about the Spice-devel mailing list