This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix to stop xwinclip from clobbering remote clipboard


Øyvind,

The reason why non-text clipboard contents is lost is not that.
To know windows clipboard change or not, you can use
SetClipboardViewer and WM_DRAWCLIPBOARD.

xwinclip clime CLIPBOARD ownership, but xwinclip can handle only XA_STRING,
UTF8_STRING and COMPOUND_TEXT.
xwinclip must hold all target to avoid clobbering X clipboard contents.

GNOME Clipboard Manager seems to do those well.
Perhaps their documents and code will help you.

By the way, latest code is here.
http://pdx.freedesktop.org/cgi-bin/viewcvs.cgi/xc/programs/Xserver/hw/xwin/winclipboardxevents.c?cvsroot=xorg&only_with_tag=CYGWIN&sortby=date

-- 
Kensuke Matsuzaki
mailto:zakki@peppermint.jp
http://peppermint.jp


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]