XSetNormalHints(display, w, hints) Display *display; Window w; XSizeHints *hints;
|display||Specifies the connection to the X server.|
|w||Specifies the window.|
|hints||Specifies a pointer to the size hints for the window in its normal state.|
To set size hints, an application not only must assign values to the appropriate members in the hints structure but also must set the flags member of the structure to indicate which information is present and where it came from. A call to XSetNormalHints() is meaningless, unless the flags member is set to indicate which members of the structure have been assigned values.
XSetNormalHints() can generate BadAlloc and BadWindow errors.
|BadAlloc||The server failed to allocate the requested source or server memory.|
|BadWindow||A value for a Window argument does not name a defined Window.|