Re: copy and paste between Aqua and X11 applications?
Re: copy and paste between Aqua and X11 applications?
- Subject: Re: copy and paste between Aqua and X11 applications?
- From: Vincent Lefevre <email@hidden>
- Date: Tue, 14 Aug 2007 15:26:48 +0200
- Mail-followup-to: email@hidden
On 2007-08-13 23:33:30 -0700, Ben Byer wrote:
> 1) X11.app has some specific rules for copy and paste logic that are not
> always intuitive or even correct. When should data be transferred from
> one of the X11 buffers to the Aqua pasteboard? And vice versa?
I think it should work in the following way (since Aqua doesn't have
a concept of PRIMARY selection):
* Have two options:
A. Autocopy of PRIMARY selection.
B. X11 CLIPBOARD support (for X11 users who don't use the PRIMARY
selection).
* From the Aqua side, when the contents of the Aqua clipboard changes:
1. This should also change the X11 PRIMARY selection.
2. When option B is enabled, change the contents of the X11 CLIPBOARD
too.
* From the X11 side, when the PRIMARY selection changes:
1. When option A is enabled, change the contents of the Aqua clipboard.
2. When option A is not enabled, provide Cmd-C to copy the contents of
the PRIMARY selection to the Aqua clipboard. Note: this is useful
even when option B is enabled, because not all X11 applications
have CLIPBOARD support (i.e. Ctrl-C in X11 cannot always replace
Cmd-C from X11.app).
* From the X11 side, when the CLIPBOARD changes:
When option B is enabled, change the contents of the Aqua clipboard.
Note: when option A is enabled, this should have no effect under
normal conditions, because when the CLIPBOARD changes, it should
have the contents of the PRIMARY selection.
When both options A and B are enabled and the PRIMARY selection changes,
X11.app should probably change the X11 CLIPBOARD too, since one has:
PRIMARY selection changes ==> Aqua clipboard changes ==> X11 CLIPBOARD
changes.
--
Vincent Lefèvre <email@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden