XSetWMHints(3X11) XSetWMHints(3X11)
Name
XSetWMHints, XGetWMHints - set or get window manager hints
Syntax
XSetWMHints(display, w, wmhints)
Display *display;
Window w;
XWMHints *wmhints;
XWMHints *XGetWMHints(display, w)
Display *display;
Window w;
Arguments
display Specifies the connection to the X server.
w Specifies the window.
wmhints Specifies a pointer to the window manager hints.
Description
The function sets the window manager hints that include icon information and location, the initial state of the window, and whether the
application relies on the window manager to get keyboard input.
can generate and errors.
The function reads the window manager hints and returns NULL if no WM_HINTS property was set on the window or a pointer to a structure if
it succeeds. When finished with the data, free the space used for it by calling
can generate a error.
Property
WM_HINTS
Diagnostics
The server failed to allocate the requested resource or server memory.
A value for a Window argument does not name a defined Window.
See Also
XSetClassHint(3X11), XSetCommand(3X11), XSetIconName(3X11), XSetIconSizeHints(3X11), XSetNormalHints(3X11), XSetSizeHints(3X11), XSetStan-
dardProperties(3X11), XSetTransientForHint(3X11), XSetZoomHints(3X11), XStoreName(3X11)
Guide to the Xlib Library
XSetWMHints(3X11)