XSetSizeHints

This function has been superseded by XSetWMSizeHints().

Syntax

XSetSizeHints(display, w, hints, property)
      Display *display;
      Window w;
      XSizeHints *hints;
      Atom property;

Arguments

display Specifies the connection to the X server.
w Specifies the window.
hints Specifies a pointer to the size hints.
property Specifies the property name.

Description

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.

See also

"Compatibility Functions".
Christophe Tronche, [email protected]