Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy and paste between Aqua and X11 applications?



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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >Re: copy and paste between Aqua and X11 applications? (From: Vernon Williams <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Vincent Lefevre <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Rich Cook <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Vincent Lefevre <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Rich Cook <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Ben Byer <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Bill Campbell <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.