Re: Getting the correct visual with apple X11
Re: Getting the correct visual with apple X11
- Subject: Re: Getting the correct visual with apple X11
- From: Sean Ahern <email@hidden>
- Date: Wed, 29 Jan 2003 09:33:10 -0800
Samuel Gravina wrote:
> The available visuals on my Mac running apple X11 are 24 bit TrueColor
> (read-only color cells).
>
> But I have an application that insists on an 8 bit PseudoColor visual
> (read/write colorcells). So it won't start.
>
> This program runs on HP, Sun and SGI but can't get the visual it wants on
> a Mac or Intel machine.
Apple's X11.app does not support PseudoColor visuals. I believe XDarwin
does.
I'm a little confused about your claim that you can't get the visual on an
Intel machine. What X server are you running on that Intel machine?
> Do I have to rewrite the application?
No, if you're willing to run a different X server. Apple has said that
PseudoColor visuals are not supported, and they have no short term plans to
add that support.
If you are not willing to run a different X server, or wish the app to be
more tolerant of various running environments, I would suggest changing
that portion of the code. Depending on the app, changing to support
TrueColor should not be that difficult.
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.