Reference

XGetWMHints(3) on Linux

The text 31a48b4c7f34, as Debian 13 (Trixie) shipped it.

allocate window manager hints structure and set or read a window's WM_HINTS property

XGetWMHints(3) on Linux now