Reference

XSetWindowColormap(3x) on Linux

The text dfe36c6c5ec1, as Debian 1.2 (Rex) shipped it.

change window attributes

XSetWindowColormap(3x) on Linux now