public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Kensuke Matsuzaki <zakki@peppermint.jp>
To: cygwin-xfree@cygwin.com
Subject: Re: Fix to stop xwinclip from clobbering remote clipboard
Date: Tue, 23 Dec 2003 19:02:00 -0000	[thread overview]
Message-ID: <m3llp3mrtx.wl@peppermint.jp> (raw)
In-Reply-To: <1072179661.1858.22.camel@famine>

Ø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


  reply	other threads:[~2003-12-23 16:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-23 18:26 Øyvind Harboe
2003-12-23 19:02 ` Kensuke Matsuzaki [this message]
2003-12-23 19:18 ` Harold L Hunt II
2004-01-05 10:34 ` Hr. Daniel Mikkelsen
2004-01-05 19:20   ` Harold L Hunt II

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3llp3mrtx.wl@peppermint.jp \
    --to=zakki@peppermint.jp \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).