This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: -clipboard not working?
- From: "Ben Jackson" <jacksob2 at cs dot man dot ac dot uk>
- To: <cygwin-xfree at cygwin dot com>
- Date: Mon, 15 Mar 2004 17:56:19 -0000
- Subject: RE: -clipboard not working?
- Reply-to: cygwin-xfree at cygwin dot com
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
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723