Windows is not "waiting" for me to render. It just closes the clipboard. If we do nothing on receiving WM_RENDERALLFORMATS, the clipboard is actually kept empty, because using the delayed-rendering-way we have already called EmptyClipboard() in handle_clipboard_grab(). I think doing nothing is the right thing here.

Alexander Larsson wrote:
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.


_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to