[Spice-commits] spice/vd_agent.h

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Nov 11 11:54:13 UTC 2016


 spice/vd_agent.h |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit 97ae0b1bb4d5302e6c95d4233be5b8eb8efc1381
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Nov 9 16:02:51 2016 +0000

    vd_agent: Add some comments to clipboard messages
    
    Document what the messages are meant to do.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Jonathon Jongsma <jjongsma at redhat.com>

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index c49f596..061ca30 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 comes with type and data.
+     * See VDAgentClipboard structure.
+     */
     VD_AGENT_CLIPBOARD,
     VD_AGENT_DISPLAY_CONFIG,
     VD_AGENT_ANNOUNCE_CAPABILITIES,
+    /* Asks to listen for clipboard changes (both directions).
+     * Remote should empty clipboard and wait for one
+     * of the types passed.
+     * See VDAgentClipboardGrab structure.
+     */
     VD_AGENT_CLIPBOARD_GRAB,
+    /* Asks for clipboard data (both directions).
+     * Request comes with a specific type.
+     * See VDAgentClipboardRequest structure.
+     */
     VD_AGENT_CLIPBOARD_REQUEST,
     VD_AGENT_CLIPBOARD_RELEASE,
     VD_AGENT_FILE_XFER_START,


More information about the Spice-commits mailing list