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.

Alexander Larsson wrote:
On Tue, 2010-09-21 at 19:16 +0200, Arnon Gilboa wrote:
-#endif // CLIPBOARD_ENABLED
+    case WM_RENDERFORMAT:
+        a->on_clipboard_render((UINT)wparam);
+        break;
+    case WM_RENDERALLFORMATS:
+        vd_printf("WM_RENDERALLFORMATS");
+        break;

I think you need to handle RENDERALLFORMATS too.


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

Reply via email to