�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:[EMAIL PROTECTED] http://peppermint.jp
