[Spice-devel] [PATCH] vd_agent: Add some comments to clipboard messages

Jonathon Jongsma jjongsma at redhat.com
Thu Nov 10 21:32:28 UTC 2016


On Wed, 2016-11-09 at 16:03 +0000, Frediano Ziglio wrote:
> Document what the messages are meant to do.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  spice/vd_agent.h | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/spice/vd_agent.h b/spice/vd_agent.h
> index c49f596..b95f924 100644
> --- a/spice/vd_agent.h
> +++ b/spice/vd_agent.h
> @@ -66,10 +66,23 @@ enum {
>      VD_AGENT_MOUSE_STATE = 1,
>      VD_AGENT_MONITORS_CONFIG,
>      VD_AGENT_REPLY,
> +    /* Set clipboard data (both directions).
> +     * Message came with type and data.
> +     * See VDAgentClipboard structure.
> +     */

came with -> comes with? contains?

>      VD_AGENT_CLIPBOARD,
>      VD_AGENT_DISPLAY_CONFIG,
>      VD_AGENT_ANNOUNCE_CAPABILITIES,
> +    /* Asks to listen for clipboard changes (both directions).
> +     * Remote will empty clipboard and wait for one
> +     * of the types passed.

will -> should ?

> +     * See VDAgentClipboardGrab structure.
> +     */
>      VD_AGENT_CLIPBOARD_GRAB,
> +    /* Asks for clipboard data (both directions).
> +     * Request came with a specific type.
> +     * See VDAgentClipboardRequest structure.
> +     */

came -> comes with?

>      VD_AGENT_CLIPBOARD_REQUEST,
>      VD_AGENT_CLIPBOARD_RELEASE,
>      VD_AGENT_FILE_XFER_START,

Acked-by: Jonathon Jongsma <jjongsma at redhat.com>



More information about the Spice-devel mailing list