I added one more debugging message that should help me figure out what is going on with the bitfield color mask detection. http://www.msu.edu/~huntharo/xwin/shadow/ Harold