Reference

XGetCommand(3) on Linux

The text f53982d511fb, as Debian 12 (Bookworm) shipped it.

set or read a window's WM_COMMAND property

XGetCommand(3) on Linux now