The
XAllocWMHints()
function allocates and returns a pointer to a
XWMHints
structure.
Note that all fields in the
XWMHints
structure are initially set to zero.
If insufficient memory is available,
XAllocWMHints()
returns NULL.
To free the memory allocated to this structure,
use
XFree().