Reference

XGetCommand(3) on Linux

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

set or read a window's WM_COMMAND property

XGetCommand(3) on Linux now