[Spice-devel] [PATCH spice-protocol 2/3] vdagent: introduce VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Fri Mar 22 13:56:47 UTC 2019


From: Marc-André Lureau <marcandre.lureau at redhat.com>

This capability means the peer will not send a release event between
two subsequent grabs. This helps with interaction issues with
clipboard managers which can be worked around by time-based filters at
this point. With this capability, there is no need for such filter.

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 spice/vd_agent.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 42ec77a..862cb5c 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -287,6 +287,7 @@ enum {
     VD_AGENT_CAP_FILE_XFER_DISABLED,
     VD_AGENT_CAP_FILE_XFER_DETAILED_ERRORS,
     VD_AGENT_CAP_GRAPHICS_DEVICE_INFO,
+    VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB,
     VD_AGENT_END_CAP,
 };
 
-- 
2.21.0.4.g36eb1cb9cf



More information about the Spice-devel mailing list