Re: Loadable, X11.bundle(?)
Re: Loadable, X11.bundle(?)
- Subject: Re: Loadable, X11.bundle(?)
- From: John Davidorff Pell <email@hidden>
- Date: Sun, 26 Sep 2004 15:17:21 -0700
I don't mean to leave a chunk of the X protocol unsupported, or to have
numerous unsupported X calls, but rather to figure out which elements
will necessarily fail because they don't make sense in Aqua, which I
don't think will be very high. In fact, I would expect it to be
extremely low. I'm not talking about breaking things left and right,
I'm talking about making certain X calls, which do sometimes fail, fail
all the time because they don't make sense. This isn't even an
important part of my idea, the important part is that we'd need to wrap
Quartz calls carefully.
JP
On 24 Sep 2004, at 12:58, Sean Ahern wrote:
John Davidorff Pell wrote:
Here's my idea: Create a loadable bundle that is loaded by the Aqua
window server (I believe that it has this ability) that implements a
subset of the X11 protocol so that X11 windows are entirely "native"
windows. Implementing the whole protocol is impractical since there
are assumptions and design decisions in X that Aqua does not keep
(deliberately). However, implementing a sufficient subset and stubs
for the remaining (non-working) functions would allow all modern X
apps to run under Aqua with no X11.app, with their own Dock icon, and
(almost complete) integration.
The devil's in the details. How would you determine what a "sufficient
subset" is? Obviously, you'd want to handle window creation and such.
Display and window properties are crucial. Event delivery is critical.
Drawing calls? Fonts? Color and visual management? GLX?
My feeling is that you are going to be hard-pressed to cut down your
subset to something not "impractical" and still have the bulk of
important X11 apps run.
One of the best reasons for X11.app is the fact that it is all of X.
ISVs and other programmers can simply rely on the fact that X on the
Mac
is the same as X everywhere else. I'd rather not have to program X
differently if I'm delivering for an OS X platform.
-Sean
__
email@hidden
925-422-1648
--
When life hands you lemons, ask for a bottle of gin and tonic.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden