[comp.windows.x] available colors on a QDSS

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/05/88)

    Date: 5 Oct 88 01:02:38 GMT
    From: fxgrp!grady@AMES.ARC.NASA.GOV  (Steven Grady)

    I create a new
    colormap with XCreateColormap(), passing AllocAll as the
    number of entries to allocate, and I'm getting 254 back,
    instead of the expected 256.

Right.  The hardware steals map entries 254 and 255 for the cursor.

    If so, what does this
    do to standard colormaps, like XA_RGB_BEST_MAP?

It simply means the client creating the standard map has to choose an
allocation that uses at most 254 entries.