This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Copy/paste broken from X to Windows
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-xfree at cygwin dot com
- Cc: matt at codespunk dot com
- Date: Thu, 21 Nov 2013 17:45:41 +0000
- Subject: Re: Copy/paste broken from X to Windows
- Authentication-results: sourceware.org; auth=none
- References: <5264B159 dot 9010503 at codespunk dot com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree <cygwin-xfree at cygwin dot com>
On 21/10/2013 05:45, Matt D. wrote:
> Copy/paste seems to be broken when attempting to copy a large block of text
> from X to Windows. See the attachment for an example.
>
> Copying the text from Windows to X seems fine but the reverse causes the mouse
> cursor to spin and then a blank string to paste.
Thanks for the bug report and reproduction steps.
I can reproduce this problem, and there's definitely a timing sensitive bug
here (which a larger paste seems to trigger). There is also perhaps something
not quite right about the way select() is behaving here, as it seems to be
returning 0 before the timeout expires, which I need to investigate further.
I've uploaded a snapshot at [1] with a fix and a workaround. Perhaps you could
try that and see if it improves things for you?
[1] ftp://cygwin.com/pub/cygwinx/XWin.20131121-git-49551bf34e231173.exe.bz2
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/