Reference

XSetClassHint(3) on Linux

The text 327a1d6886dd, as Debian 11 (Bullseye) shipped it.

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

XSetClassHint(3) on Linux now