Re: server: allow OpenClipboard to succeed when already open

2006-02-07 Thread Eric Frias
James Hawkins wrote: On 2/7/06, Eric Frias <[EMAIL PROTECTED]> wrote: 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 would be pretty easy to write, and it would verify this informat

Re: server: allow OpenClipboard to succeed when already open

2006-02-07 Thread James Hawkins
On 2/7/06, Michael Stefaniuc <[EMAIL PROTECTED]> wrote: > > > > 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 ... . > oops :) -- James Hawkins

Re: server: allow OpenClipboard to succeed when already open

2006-02-07 Thread Dmitry Timoshkov
On Tue, 2006-02-07 at 15:05 -0600, James Hawkins wrote: > You should add a unit test for this case in Wine's test suite. It > would be pretty easy to write, and it would verify this information, > making your fix more likely to be accepted. A test is included in the patch. -- Dmitry.

Re: server: allow OpenClipboard to succeed when already open

2006-02-07 Thread Michael Stefaniuc
James Hawkins wrote: On 2/7/06, Eric Frias <[EMAIL PROTECTED]> 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, Wi

Re: server: allow OpenClipboard to succeed when already open

2006-02-07 Thread James Hawkins
On 2/7/06, Eric Frias <[EMAIL PROTECTED]> 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