Reference

XGetClassHint(3x) on Linux

The text cfaa8ba99732, as Debian 3.0 (Woody) shipped it.

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

XGetClassHint(3x) on Linux now