Set the window color key.
If a pixel of the window matches this color the underlying window or the background is visible at this point.