The
XSetSizeHints()
function sets the
XSizeHints
structure for the named property and the specified window.
This is used by
XSetNormalHints()
and
XSetZoomHints(),
and can be used to set the value of any property of type WM_SIZE_HINTS.
Thus, it may be useful if other properties of that type get defined.
XSetSizeHints()
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.