The
XSetWMSizeHints()
function replaces the size hints for the specified property
on the named window.
If the specified property does not already exist,
XSetWMSizeHints()
sets the size hints for the specified property
on the named window.
The property is stored with a type of WM_SIZE_HINTS and a format of 32.
To set a window's normal size hints,
you can use the
XSetWMNormalHints()
function.
XSetWMSizeHints()
can generate
BadAlloc,
BadAtom,
and
BadWindow
errors.
Diagnostics
BadAlloc
The server failed to allocate the requested
source or server memory.
BadAtom
A value for an Atom argument does not name a
defined Atom.
BadWindow
A value for a Window argument does not name a defined Window.