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: Sun, 12 Aug 2007 03:32:42 +0200
- Mail-followup-to: email@hidden
On 2007-08-11 13:48:31 -0700, Adam D. I. Kramer wrote:
> When attempting to replicate this, I find that hwen command-tabbing (or
> clicking) back into X11, anything selected in X11 is also deselected.
>
> This behavior is probably constructed to ensure that X11 always has
> the aqua clipboard.
Yes, it seems that when switching to X11, quartz-wm asserts the PRIMARY
selection. Something like that. As a consequence, the previous selection
in X11 is discarded.
> The logic seems to be that when you switch from an Aqua app to an X11 app,
> X11's clipboard is filled with the Aqua clipboard, in order to ensure that
> it has the Aqua clipboard...even if the Aqua clipboard was filled prior to
> the last switching into X11.
>
> A good solution would be for X11 to check when the clipboard was
> filled...and if X11 has been the front app since then, to not fill the X11
> clipboard with the Aqua clipboard when switching from an Aqua app to X11.
I agree, except that it should be the PRIMARY selection, not CLIPBOARD
(or make this configurable).
> Another solution would be to tie the X11 clipboard to the Aqua
> clipboard...so the Aqua clipboard would be filled with X11 goodness
> on a select in X11, instead of requiring the user to press
> command-C.
Yes, I'd like that. Of course, this could be optional.
BTW, I've configured both iTerm and Firefox to behave like under X11:
selecting something automatically copies the data to the Aqua clipboard
and I can paste with the middle mouse button. So, merging the Aqua
clipboard and the X11 PRIMARY selection would make things even more
consistent.
--
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