[comp.windows.x] Many Many X Questions

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/02/90)

    c) I'm creating my own colormap with XCreateColormap(..,..,AllocAll).
    On the DECstation I can store in all the pixels.  On the VAXstation I
    can't XStoreColor into pixels 254 and 255.  For various reasons I need
    pixel 255 (I can do without 254 if I absolutely have to...).  Any
    suggestions?

There is no requirement for a server to give you "all" pixel values.
The QDSS hardware uses 254/255 for cursor colors, so these are omitted
from use by clients.  You should find in the visual info returned by
the server that the number of colormap entries is 254, not 256.