[Spice-devel] [PATCH spice-protocol 2/3] vd_agent: add VD_AGENT_CAP_CLIPBOARD_BY_DEMAND capability enum
Arnon Gilboa
agilboa at redhat.com
Mon Oct 4 08:08:10 PDT 2010
Hans de Goede wrote:
> From: Arnon Gilboa <agilboa at redhat.com>
>
> VD_AGENT_CLIPBOARD_NONE for unsupported clipboard types
> ---
> spice/vd_agent.h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/spice/vd_agent.h b/spice/vd_agent.h
> index 0da23aa..4724b9a 100644
> --- a/spice/vd_agent.h
> +++ b/spice/vd_agent.h
> @@ -130,7 +130,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
> } VDAgentClipboard;
>
> enum {
> - VD_AGENT_CLIPBOARD_UTF8_TEXT = 1,
> + VD_AGENT_CLIPBOARD_NONE = 0,
> + VD_AGENT_CLIPBOARD_UTF8_TEXT,
> VD_AGENT_CLIPBOARD_BITMAP,
> };
>
> @@ -148,6 +149,7 @@ enum {
> VD_AGENT_CAP_REPLY,
> VD_AGENT_CAP_CLIPBOARD,
> VD_AGENT_CAP_DISPLAY_CONFIG,
> + VD_AGENT_CAP_CLIPBOARD_BY_DEMAND,
> VD_AGENT_END_CAP,
> };
>
>
Ack
More information about the Spice-devel
mailing list