Reference

XSetClassHint(3x) on Linux

The text 58076eac9b40, as Debian 2.2 (Potato), Debian 2.1 (Slink), Debian 2.0 (Hamm), Debian 1.3 (Bo) shipped it.

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

XSetClassHint(3x) on Linux now