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: pasting into X11 applications from Aqua apps



One way to deal with this in both directions would be for X11 to intercept access to the CLIPBOARD selection and use the Mac clipboard instead.

X apps use a couple of different methods to deal with the "clipboard"
http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki

If an X client sets the CLIPBOARD selection, the server (X11) could grab that content and place it onto the Mac clipboard. Likewise, when an X client tries to retrieve the CLIPBOARD extension, the X server could intercept it and give the client the current contents of the Mac clipboard.

This doesn't do anything for people who like to paste from the PRIMARY selection using the middle mouse button (which is the way you paste into an xterm), but for X apps that use Ctrl-C, Ctrl-V or have an Edit menu, this is how they usually expect to work.

Mark E. Perkins wrote:
On 2007/08/09 22:19, Ben Byer wrote:
Obviously, you want it to paste when you hit Cmd-V -- and we could
probably assume you want it to paste into the frontmost window.

If by "frontmost window" you really mean the window with focus, then OK. But if one is using focus-follows-mouse, and the window with focus is not also frontmost, then pasting into the frontmost window violates POLA in a rather big way, I think.

Mark
 _______________________________________________
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


_______________________________________________
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: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Ben Eisenbraun <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Jonas Maebe <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Dave Williss <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: Ben Byer <email@hidden>)
 >Re: pasting into X11 applications from Aqua apps (From: "Mark E. Perkins" <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.