Reference

XSetWindowColormap(3x) on Linux

The text c8ddd0c110c9, as Debian 3.0 (Woody) shipped it.

change window attributes

XSetWindowColormap(3x) on Linux now