[Xquartz-dev] Making it less ambiguous - Copy/Paste Problem
George Peter Staplin
georgeps at xmission.com
Thu Sep 11 17:04:15 PDT 2008
Quoted George Peter Staplin <georgeps at xmission.com>:
>
> What are your thoughts on the following?
>
> 1. get CLIPBOARD data when with have an XQuartz Edit->Copy.
That should read: get CLIPBOARD data when there is an owner of it,
after an XQuartz Edit->Copy...
> 2. set pbproxy as owner of CLIPBOARD. set pbproxy as owner of
> PRIMARY. copy the contents to NSPasteboard.
> 3. respond to requests from X11 for pastes of PRIMARY and possibly
> CLIPBOARD
> 4. if Edit->Copy occurs in XQuartz and pbproxy owns CLIPBOARD, then
> ignore clipboard, and only copy PRIMARY to NSPasteboard.
>
> I think that works. It's complex stuff though, so if you see a
> problem with that approach please let me know.
George
--
http://www.xmission.com/~georgeps/ http://whim.linuxsys.net
http://code.google.com/p/megapkg/
More information about the Xquartz-dev
mailing list