[spice-protocol,2/3] vdagent: introduce VD_AGENT_CAP_CLIPBOARD_NO_RELEASE_ON_REGRAB

Submitted by marcandre.lureau@redhat.com on March 22, 2019, 1:56 p.m.

Details

Message ID 20190322135648.520-2-marcandre.lureau@redhat.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

marcandre.lureau@redhat.com March 22, 2019, 1:56 p.m.
From: Marc-André Lureau <marcandre.lureau@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@redhat.com>
---
 spice/vd_agent.h | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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,
 };