14.2.1 Setting and Reading the WM_COMMAND Property
Xlib provides functions that you can use to set and read
the WM_COMMAND property for a given window.
To set a window's WM_COMMAND property, use
XSetCommand().
To read a window's WM_COMMAND property, use
XGetCommand().
Christophe Tronche, ch@tronche.com