Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extremely narsty XPM bug




On Sun, 26 Feb 1995,  Anthony Thyssen <anthony@cit.gu.edu.au> wrote:

> The problem is that the X pixmap library sets the pixel value of
> the Masked out pixels to 0 (zero). On suns this is white but on other
> machines this is often set to black by the X server. The solution is
> to use the bitmap mask read in to set the color of the `None' transparent
> color of the X pixmap before using it. Or just do not use the color `None'
> at all.

If you want to have white or black pixels, maybe a call to
WhitePixelOfScreen or BlackPixelOfScreen could solve the problem.

-Raphael