[Spice-devel] [PATCH] vd_agent: support clipboard/selection-owner model

Alexander Larsson alexl at redhat.com
Wed Sep 22 06:28:14 PDT 2010


On Wed, 2010-09-22 at 11:45 +0200, Arnon Gilboa wrote:
> MSDN is saying: "WM_RENDERALLFORMATS Message is sent to the clipboard 
> owner before it is destroyed, if the clipboard owner has delayed 
> rendering one or more clipboard formats. For the content of the 
> clipboard to remain available to other applications, the clipboard owner 
> must render data in all the formats it is capable of generating, and 
> place the data on the clipboard by calling the SetClipboardData function. "
> 
> When our agent is killed, do we really want to send a REQUEST to the 
> client? I see no reason to render in this case or keep the clipboard 
> available for other apps.

That indeed seems a bit silly. Isn't windows waiting for you to render
something though? You could just set the data to a zero size block.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an unconventional amnesiac ex-con in drag. She's a radical green-skinned 
soap star with a knack for trouble. They fight crime! 



More information about the Spice-devel mailing list