Clipboard - using MIME types

Submitted by =?UTF-8?q?Jakub=20Jank=C5=AF?= on May 31, 2018, 8:52 p.m.

Details

Reviewer None
Submitted May 31, 2018, 8:52 p.m.
Last Updated May 31, 2018, 9:58 p.m.
Revision 1

Cover Letter(s)

Revision 1
      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
    

Revisions