Reference

XSetClassHint(3) on Linux

The text ac3d0ba406aa, as Debian 4.0 (Etch) shipped it.

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

XSetClassHint(3) on Linux now