Re: colors in Afterstep

Andrew Sullivan (ajsulliv@sprint.ca)
Fri, 19 Jun 1998 13:10:14 -0400 (EDT)


On Fri, 19 Jun 1998, Bart De Win wrote:

> I'm using 8bit colors, so I can use 256 colors simultaniously in my Xserver.  Does
> Afterstep allocates those 256 colors in advance ? I thought that every 
> application could do that on their own.  And if the former is true, which 
> colors are allocated ?

Keep in mind that _every_ XPM on your wharf, &c., is using several
colours.  You need to be sure you're not using up all the colours with
those XPMs.  The best way, of course, is to use only two-colour XBMs
instead, or to use low-colour pixmaps.  There's a discussion of this in
the FAQ.

Netscape, by the way, is a special case (along with several other
programs: some versions of xlock are supposed to work this way, too.  BTW,
did the problem with the custom colormap xlock on Suns ever get
resolved?): it can, under some circumstances, dynamically "grab" the
colormap for itself.  You are likely invoking netscape that way, which is
why you're not having problems with it.

A.

Andrew Sullivan | asullivan@sprint.ca (better)| ajsulliv@mcmaster.ca (worse)
                                   *  *  *
'finger -l ajsulliv@mcmaster.ca' for locations of the AfterStep FAQ file.


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://wormhole.eosys.com/mailing-lists/AfterStep-Info.html
   FAQ:   http://www.cs.purdue.edu/homes/zamboni/afterstep/FAQ.html

   To unsubscribe: echo unsubscribe | mail afterstep-request@eosys.com