Uhm, wtf are you talking about? I was having Xquartz move to the
foreground too early in the startup, so it was appearing on the dock
when it shouldn't've. Now it does that transition after checking for -
version.
What do you mean by "using a hack to support an unsupported hack"?
1) The in-bundle application (X11.app/Contents/MacOS/X11) is never
executed unless someone actually runs X11.app through launch
services. (This is a bit of a fib for 2.1.1, but it is true for
2.1.0.1 and the current git which will be 2.1.2).
2) There are no resource forks.
Yes, we do a bit of a hack in xinit.c to get Xquartz its menus and
localization when it is started by xinit:
I don't like that hack one bit, but setting argv[0] when we exec'd was
what was being done before, so I kept it that way, since I am not too
familiar with Cocoa, Carbon,or all this OS-X stuff. I'm a unix guy,
and when I find the proper solution to do this inside Xquartz, I
will! In the mean time, if you do have the expertise to fix this up
in a non-hack way, I welcome your patches. Please join xquartz-dev
and offer your suggestions.
--Jeremy
On Dec 21, 2007, at 21:06, John Davidorff Pell wrote:
The problem isn't the behaviour that the Dock icon appears and
disappears. The problem is using a hack to support an unsupported
hack (that is, manually registering with the window server in order
to allow people to execute an in-bundle application directly,
without going through launch services, and making that actually work
by throwing in a resource fork!). (There are at least three things
there that are not good ideas.)
$0.02
JP
On 15 Dec 2007, at 20:26, Jeremy Huddleston wrote:
I can change Xquartz to not claim a dock icon when -version is run...
_______________________________________________
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