Re: Default Colours in Apple X11
Re: Default Colours in Apple X11
- Subject: Re: Default Colours in Apple X11
- From: "Torrey T. Lyons" <email@hidden>
- Date: Tue, 29 Jun 2004 12:32:59 -0700
At 5:12 PM +0100 6/29/04, Sadler, Stewart wrote:
When running a legacy application (requiring 8 bit pseudocolor)
displaying on Apple's X11 it complains that it can't allocate enough
colours for its base colours and planes. Looking at the default
colour map it's easy to see why - a fair number of the entries are
already allocated.
This even with the X server:
- running in "full screen" mode
- with 256 colours
- using the preferred mwm window manager (open motif) or quartz-wm
Are there any settings that can be adjusted to make sure that there
are only a minimum number of colours allocated in the default colour
map (preferably only black and white) so this application will
actually have a chance to run properly.
There are two issues here. One is that the client that is eating up
your colors is the window manager. You have to check the
documentation for the window manager in question to see if you can
configure it to use fewer colors. This is certainly possible with a
bare bones window manager like twm, but I would guess mwm and
quartz-wm are not ideal for minimizing color usage.
What is supposed to happen when you run out of colors is that the
client should request a new virtual colormap. When your client is
active this colormap will be used for the screen. Of course, this can
give strange effects where the inactive clients will appear in
strange colors as some of you may remember from the distant past when
PseudoColor was common. From a casual glance at the X11.app code, it
appears that it supports this feature. I know XDarwin does in full
screen mode.
In any case, if you can't get your client to request a new virtual
colormap, you may have to use a simpler window manager.
--Torrey
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.