server: allow OpenClipboard to succeed when already open
Michael Stefaniuc
mstefani at redhat.com
Tue Feb 7 15:20:44 CST 2006
James Hawkins wrote:
> On 2/7/06, Eric Frias <efrias at syncad.com> wrote:
>
>>When OpenClipboard is called twice in a row with the same HWND as a
>>parameter, wine lets the first call succeed, but the second call fails
>>because the clipboard was already locked. Although it's not specified
>>in the docs, Windows allows the second call to succeed (and something
>>deep inside of our app depends on this). I think I submitted a version
>>of this patch a year or two back, but it wasn't accepted.
>>
>
>
> You should add a unit test for this case in Wine's test suite. It
If you look at the bottom of his patch you will see that he already did
that ... .
> would be pretty easy to write, and it would verify this information,
> making your fix more likely to be accepted.
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
More information about the wine-devel
mailing list