Re: [PATCH] vd_agent: Add some comments to clipboard messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]