The pixmap patch I submitted last month corrected 2 small bugs, but
added a big one (for Sun users). This is a small patch to correct it.
Sorry for the inconvenience.
Description of the problem:
The mask pixmap doesn't care about the colormap. The foreground
and background colors are just here to set the 1s and 0s (background
is 0, foreground 1).