Hey, On Mon, Apr 18, 2016 at 06:26:29AM +0300, Alex Roithman wrote: > 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. :) Can you be more specific about what you are doing? Do you have an application based on spice-gtk or spice-glib? Have you checked how spicy (for example) handles copy and paste? Or are you trying to do something special which spicy/remote-viewer are not doing? Also, I assume you checked that with the applications mentioned above, copy and paste works? (ie the agent is running in the guest, and working as expected, it's only a problem with your code?) Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel