[Spice-devel] [RFC 0/8] Clipboard - using MIME types

Jakub Janků janku.jakub.jj at gmail.com
Thu May 31 20:52:17 UTC 2018


Hi,

these patches introduce support for transferring arbitrary type of clipboard data between spice-gtk client and linux vdagent.

At the moment, VDAgentClipboard* messages are used to exchange data. These messages use spice-defined identifiers to describe the type of data (such as VD_AGENT_CLIPBOARD_UTF8_TEXT, VD_AGENT_CLIPBOARD_IMAGE_PNG, ...) and hence the number of formats, in which data can be transferred, is limited (see atom2agent[] in clipboard.c in spice-vdagent).

This series would intorduce new VDAgentSelection* messages which use MIME types to identify the format of the data.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1381906

Cheers,
Jakub

-- 
2.17.0



More information about the Spice-devel mailing list