Reference

XGetCommand(3) on Linux

The text b9a069f86e6b, as Debian 4.0 (Etch) shipped it.

set or read a window's WM_COMMAND property

XGetCommand(3) on Linux now