Bug 34833 - protocol: add clipboard selection capability
Summary: protocol: add clipboard selection capability
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: protocol (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-28 05:51 UTC by Marc-Andre Lureau
Modified: 2011-03-01 06:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
protocol: add clipboard selection capability (2.82 KB, patch)
2011-02-28 05:51 UTC, Marc-Andre Lureau
Details | Splinter Review

Description Marc-Andre Lureau 2011-02-28 05:51:30 UTC
Add a new capability VD_AGENT_CAP_CLIPBOARD_SELECTION.

When both client and servers have this capability, the
VDAgentClipboard* messages MUST be prepended with a uint8_t indicating
which clipboard selection to operate + 3 bytes stuffing for alignment
that could be used for future capabilities or extensions.

A few clipboard selection are defined according to X11/Gtk scheme:

- VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD: the default clipboard,
  implemented by most OS to deal with explicit Copy/Paste operations.

- VD_AGENT_CLIPBOARD_SELECTION_PRIMARY: the PRIMARY clipboard, used
  for mouse selections.

- VD_AGENT_CLIPBOARD_SELECTION_SECONDARY: the SECONDARY clipboard.

See also:
http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki
Comment 1 Marc-Andre Lureau 2011-02-28 05:51:33 UTC
Created attachment 43926 [details] [review]
protocol: add clipboard selection capability
Comment 2 Hans de Goede 2011-03-01 05:15:19 UTC
Review of attachment 43926 [details] [review]:

Looks good now, ACK.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.