Reference

XSetClassHint(3) on Linux

The text 764c97d21ea0, as Debian 6.0 (Squeeze) shipped it.

allocate class hints structure and set or read a window's WM_CLASS property

XSetClassHint(3) on Linux now