This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Clipboard sometimes removes linefeeds
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Sat, 21 Feb 2004 13:46:29 +0100
- Subject: Clipboard sometimes removes linefeeds
- Organization: Zylin AS
- Reply-to: cygwin-xfree at cygwin dot com
Two more items:
- If I disable the clipboard (remove -clipboard from when launching XWin),
line feeds are still removed when I paste into Emacs.
This goes for Emacs.exe under CygWin and "ssh -X emacs" to my Linux box.
- The function call below that I referred to in my previous post was in
winclipboardxevents.c ca. line 540
/* Request the selection data */
iReturn = XGetWindowProperty (pDisplay,
iWindow,
atomLocalProperty,
0,
ulReturnBytesLeft,
False,
AnyPropertyType,
&xtpText.encoding,
&xtpText.format,
&xtpText.nitems,
&ulReturnBytesLeft,
&xtpText.value);
Øyvind