Re: [Spice-devel] [PATCH win-agent] vdagent: reset clipboard event

2012-05-28 Thread Arnon Gilboa
Seems like the right hack. ACK. Marc-André Lureau wrote: Waiting for a Windows event will not last if it is already set. For example, the client may send clipboard_release() messages while we are not waiting in on_clipboard_request(), and this will SetEvent(clipboard_event) The following

[Spice-devel] [PATCH win-agent] vdagent: reset clipboard event

2012-05-25 Thread Marc-André Lureau
Waiting for a Windows event will not last if it is already set. For example, the client may send clipboard_release() messages while we are not waiting in on_clipboard_request(), and this will SetEvent(clipboard_event) The following clipboard request will thus not wait for the data, resulting in