Reference

XSetClassHint(3) on Linux

The text d8a8b7438272, as Debian 8 (Jessie) shipped it.

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

XSetClassHint(3) on Linux now