[Spice-devel] paste client clipboard selection to guest

Alex Roithman kaperang07 at gmail.com
Mon Apr 18 03:26:29 UTC 2016


I can't implement paste data to the guest.

spice_main_clipboard_selection_notify()
don't send data to guest even if implement
as:

    spice_main_clipboard_selection_notify(
                (SpiceMainChannel *) gobject,
                VD_AGENT_CLIPBOARD_SELECTION_CLIPBOARD,
                type,
                (const guchar*)"153",
                3);

I read in

http://www.spice-space.org/page/Whiteboard/AgentProtocol#Clipboard
http://www.spice-space.org/docs/spice-gtk/SpiceMainChannel.html#SpiceMainChannel-main-clipboard-selection-request

that sending possible if guest clipboard released
and client clipboard data requested.
But i don't know how to emit request signal for this.
Maybe i not understand the logic of clipboard data moving.
Need help or detail description. :)
Pls.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160418/cb9f14b5/attachment.html>


More information about the Spice-devel mailing list