This function has been superseded by XGetWMSizeHints().


Status XGetSizeHints(display, w, hints_return, property)
      Display *display;
      Window w;
      XSizeHints *hints_return;
      Atom property;


display Specifies the connection to the X server.
w Specifies the window.
hints_return Returns the size hints.
property Specifies the property name.


The XGetSizeHints() function returns the XSizeHints structure for the named property and the specified window. This is used by XGetNormalHints() and XGetZoomHints(). It also can be used to retrieve the value of any property of type WM_SIZE_HINTS. Thus, it may be useful if other properties of that type get defined. XGetSizeHints() returns a nonzero status if a size hint was defined or zero otherwise.

XGetSizeHints() can generate BadAtom and BadWindow errors.


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

XGetWMSizeHints(), "Compatibility Functions".
Christophe Tronche, [email protected]