Reference

XGetCommand(3x) on Linux

The text b0f209be4daf, as Debian 1.1 (Buzz) shipped it.

set or read a window's WM_COMMAND property

XGetCommand(3x) on Linux now