Weird: I just did cvs update on my working copy of the source in order to
look at this, and I cant find the code below even with find in files. Is it
in a part other than programs/Xserver/hw/xwin ? a search on that directory
for "winProcSetSelectionOwner" returns nothing. The code I see is:
if (!OpenClipboard (hwnd))
{
ErrorF ("winClipboardFlushXEvents - SelectionRequest - "
"OpenClipboard () failed: %08x\n",
GetLastError ());
pthread_exit (NULL);
}
is this a fix which is on its way? *hopes*
-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]
On Behalf Of Alexander Gottwald
Sent: 15 March 2004 16:18
To: cygwin-xfree@cygwin.com
Subject: RE: -clipboard not working?
On Mon, 15 Mar 2004, Ben Jackson wrote:
I presume there are no system calls between OpenClipboard and
GetLastError?
It's a weird one certainly, if that's the case.
/* Access the Windows clipboard */
if (!OpenClipboard (g_hwndClipboard))
{
ErrorF ("winProcSetSelectionOwner - OpenClipboard () failed: %08x\n",
(int) GetLastError ());
goto winProcSetSelectionOwner_Done;
}
bye
ago