Reference

XGetWMColormapWindows(3) on Linux

The text 960cda7a711b, as Debian 5.0 (Lenny) shipped it.

set or read a window's WM_COLORMAP_WINDOWS property

XGetWMColormapWindows(3) on Linux now